about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-04-11 20:43:56 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-04-11 20:43:56 +0200
commit2a7602cad449da3590cb1eac2a86a3e5cc606966 (patch)
treee315f30c6cb4b40b670e9cbd15065851d5f44a33 /app/models
parentb723ee73fc7d74fd5908eb09a8f6b98e73597c2b (diff)
parent06444bf050a267da7001c2801480c5fae3e1559e (diff)
Merge branch 'master' of https://github.com/blackle/mastodon into blackle-master
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb4
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