Add admin setting to auto-approve hashtags (#12122)

Change inaccurate labels on other admin settings
This commit is contained in:
Eugen Rochko
2019-10-09 00:30:15 +02:00
committed by GitHub
parent 19cdc62765
commit c8bcf5cbfd
5 changed files with 17 additions and 8 deletions

View File

@ -76,7 +76,7 @@ class Tag < ApplicationRecord
alias listable? listable
def trendable
boolean_with_default('trendable', false)
boolean_with_default('trendable', Setting.trendable_by_default)
end
alias trendable? trendable