diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-08-28 04:00:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-28 04:00:39 +0200 |
commit | 546672e292dc3218e996048464c4c52e5d00f766 (patch) | |
tree | b3d0e0b00baf0b62cd092a144b9c43b7550f5987 /app/models | |
parent | c57907737a35d05d4bb936acd662df6ce725456f (diff) |
Change "Allow trends without prior review" setting to include statuses (#17977)
* Change "Allow trends without prior review" setting to include posts * Fix i18n-tasks
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/account.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/account.rb b/app/models/account.rb index d25afeb89..1be7b4d12 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -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 |