about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-02-13 15:35:04 -0600
committermultiple creatures <dev@multiple-creature.party>2020-02-13 15:35:04 -0600
commit58c06b32c5459994505328eae3352f0e41af710a (patch)
tree6b904c2eba9333050203de77b839d7e3d1bdc0aa /app/models
parent1435ebec8fede44289a1c8a9213ff336c614f68d (diff)
`setting` -> `settings`
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 7c4f6553b..b2cffa31e 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -393,7 +393,7 @@ class User < ApplicationRecord
   end
 
   def hides_sensitive_cards?
-    @hide_sensitive_cards ||= (setting.hide_sensitive_cards || true)
+    @hide_sensitive_cards ||= (settings.hide_sensitive_cards || true)
   end
 
   def defaults_to_local_only?