Allow user to disable the boost confirm dialog in preferences
This commit is contained in:
parent
f53fb6aa66
commit
06444bf050
9 changed files with 22 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue