Add support for language preferences for trending statuses and links (#18288)
This commit is contained in:
parent
678fc4d292
commit
45ebdb72ca
29 changed files with 274 additions and 121 deletions
|
@ -4,6 +4,7 @@ class Admin::Trends::StatusesController < Admin::BaseController
|
|||
def index
|
||||
authorize :status, :review?
|
||||
|
||||
@locales = StatusTrend.pluck('distinct language')
|
||||
@statuses = filtered_statuses.page(params[:page])
|
||||
@form = Trends::StatusBatch.new
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue