about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2017-10-16 09:23:59 -0500
committerDavid Yip <yipdw@member.fsf.org>2017-10-16 09:23:59 -0500
commitdbb1fce94dbd877d795898933ca344359f9b74c1 (patch)
tree06ab5f2ae7714b41aa9e5cc19ac8c234e0f394be /app/models
parent6cd5b3bbe5a11fcf25bbefba2803f2ae840f39fc (diff)
parentaec70b44fc551db6471c8bc5210688b154ac661f (diff)
Merge remote-tracking branch 'upstream/master' into gs-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 3bf069a31..325e27f44 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -102,6 +102,10 @@ class User < ApplicationRecord
     settings.auto_play_gif
   end
 
+  def setting_reduce_motion
+    settings.reduce_motion
+  end
+
   def setting_system_font_ui
     settings.system_font_ui
   end