diff options
author | blackle <isabelle@blackle-mori.com> | 2017-04-11 10:10:16 -0400 |
---|---|---|
committer | blackle <isabelle@blackle-mori.com> | 2017-04-11 10:10:16 -0400 |
commit | 06444bf050a267da7001c2801480c5fae3e1559e (patch) | |
tree | 4dd809131a514dac055bcc7abd038fcbf638669f /app/models | |
parent | f53fb6aa660834074bbbffac5b1fe5ea0cc85edf (diff) |
Allow user to disable the boost confirm dialog in preferences
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index bf2916d90..d2aa5d809 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -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 |