Change "Allow trends without prior review" setting to include statuses (#17977)

* Change "Allow trends without prior review" setting to include posts

* Fix i18n-tasks
This commit is contained in:
Eugen Rochko
2022-08-28 04:00:39 +02:00
committed by GitHub
parent c57907737a
commit 546672e292
8 changed files with 23 additions and 7 deletions

View File

@ -258,6 +258,10 @@ class Account < ApplicationRecord
update!(memorial: true)
end
def trendable
boolean_with_default('trendable', Setting.trendable_by_default)
end
def sign?
true
end