From 4340d338fd2aa5665ffb2eb0cd54d689997234fe Mon Sep 17 00:00:00 2001 From: Hinaloe Date: Thu, 21 Feb 2019 01:47:38 +0900 Subject: [PATCH] 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 --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)