about summary refs log tree commit diff
diff options
context:
space:
mode:
-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?