correct opt-out showing application (#10086)

* correct opt-out showing application

refs #9994

* Revert "correct opt-out showing application"

This reverts commit 0e9bb70f14.

* User#shows_application? calls wrong value
This commit is contained in:
Hinaloe 2019-02-21 01:47:38 +09:00 committed by Eugen Rochko
parent aa6a4b7b8a
commit 4340d338fd

View File

@ -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)