Fix trendable status without review (#20214)

lolsob-rspec
Jeong Arm 2022-11-12 05:24:10 +09:00 committed by GitHub
parent 532fc2e361
commit f9e6d2bb38
1 changed files with 1 additions and 1 deletions

View File

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