about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHinaloe <hina@hinaloe.net>2019-02-21 01:47:38 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-02-20 17:47:38 +0100
commit4340d338fd2aa5665ffb2eb0cd54d689997234fe (patch)
treefe7189f835a02da1b94aca87fff23d100656cbd5
parentaa6a4b7b8aa55383f7cecbd9bc9cd2db1db13596 (diff)
correct opt-out showing application (#10086)
* correct opt-out showing application

refs #9994

* Revert "correct opt-out showing application"

This reverts commit 0e9bb70f145be42962416a6b87c08d59a2896486.

* User#shows_application? calls wrong value
-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 7432e3da8..83816def5 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -245,7 +245,7 @@ class User < ApplicationRecord
   end
 
   def shows_application?
-    @shows_application ||= settings.shows_application
+    @shows_application ||= settings.show_application
   end
 
   def token_for_app(a)