0
0
Fork 0

Allow user to disable the boost confirm dialog in preferences

This commit is contained in:
blackle 2017-04-11 10:10:16 -04:00
parent f53fb6aa66
commit 06444bf050
9 changed files with 22 additions and 7 deletions

View file

@ -26,4 +26,8 @@ class User < ApplicationRecord
def setting_default_privacy
settings.default_privacy || (account.locked? ? 'private' : 'public')
end
def setting_boost_modal
settings.boost_modal
end
end