1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Fix trendable status without review (#20214)

This commit is contained in:
Jeong Arm 2022-11-12 05:24:10 +09:00 committed by GitHub
parent 93a6ebc83d
commit c4c1bee880
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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