diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-17 18:07:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-17 18:07:52 +0200 |
commit | b348c9b0dbd72f2a9930f9fcbbe72cd1c6b3efd8 (patch) | |
tree | dfec9d1dfa6b8917846260fbc9dff9ccb5197dc7 /app/controllers | |
parent | 53071389ee08e38d2f73d56ae92051e74042f387 (diff) |
Add explanation to featured hashtags page and profile (#11586)
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/accounts_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index f153b63bb..19e8a9bc7 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -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 = [] |