diff options
author | Hinaloe <hina@hinaloe.net> | 2019-02-21 01:47:38 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-02-20 17:47:38 +0100 |
commit | 4340d338fd2aa5665ffb2eb0cd54d689997234fe (patch) | |
tree | fe7189f835a02da1b94aca87fff23d100656cbd5 | |
parent | aa6a4b7b8aa55383f7cecbd9bc9cd2db1db13596 (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.rb | 2 |
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) |