0
0
Fork 0

Add support for language preferences for trending statuses and links (#18288)

This commit is contained in:
Eugen Rochko 2022-10-08 16:45:40 +02:00 committed by GitHub
parent 678fc4d292
commit 45ebdb72ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 274 additions and 121 deletions

View file

@ -4,6 +4,7 @@ class Admin::Trends::LinksController < Admin::BaseController
def index
authorize :preview_card, :review?
@locales = PreviewCardTrend.pluck('distinct language')
@preview_cards = filtered_preview_cards.page(params[:page])
@form = Trends::PreviewCardBatch.new
end