about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorMatt Sweetman <webroo@gmail.com>2018-09-24 04:44:01 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-09-24 05:44:01 +0200
commit1889526e23ce41a37395fdcf89bd415bb2f7546f (patch)
tree0f8f33d2f0502041855db7b943a28250a97196be /app/models
parentc39183cc628ea9556db53af5059656d6b63609ba (diff)
Add user preference to always expand toots marked with content warnings (#8762)
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index d83df28c2..541b5a638 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -96,7 +96,7 @@ class User < ApplicationRecord
 
   delegate :auto_play_gif, :default_sensitive, :unfollow_modal, :boost_modal, :delete_modal,
            :reduce_motion, :system_font_ui, :noindex, :theme, :display_sensitive_media, :hide_network,
-           :default_language, to: :settings, prefix: :setting, allow_nil: false
+           :expand_spoilers, :default_language, to: :settings, prefix: :setting, allow_nil: false
 
   attr_reader :invite_code