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 29946b826..38f8341dd 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -388,7 +388,7 @@ class User < ApplicationRecord
   end
 
   def allows_rss?
-    @allows_rss ||= (setting.allow_rss || false)
+    @allows_rss ||= (settings.allow_rss || false)
   end
 
   def defaults_to_local_only?