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
This commit is contained in:
parent
aa6a4b7b8a
commit
4340d338fd
|
@ -245,7 +245,7 @@ class User < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def shows_application?
|
def shows_application?
|
||||||
@shows_application ||= settings.shows_application
|
@shows_application ||= settings.show_application
|
||||||
end
|
end
|
||||||
|
|
||||||
def token_for_app(a)
|
def token_for_app(a)
|
||||||
|
|
Reference in New Issue