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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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