0
0
Fork 0

Add explanation to featured hashtags page and profile (#11586)

This commit is contained in:
Eugen Rochko 2019-08-17 18:07:52 +02:00 committed by GitHub
parent 53071389ee
commit b348c9b0db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 13 deletions

View file

@ -18,6 +18,7 @@ class AccountsController < ApplicationController
@pinned_statuses = []
@endorsed_accounts = @account.endorsed_accounts.to_a.sample(4)
@featured_hashtags = @account.featured_tags.order(statuses_count: :desc)
if current_account && @account.blocking?(current_account)
@statuses = []