fixed infitive redirect when not public
This commit is contained in:
parent
c71f7d49ba
commit
a68c00ab5f
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class ApplicationController < ActionController::Base
|
|||
end
|
||||
|
||||
def check_public_access
|
||||
require_user unless ENV['PUBLIC'] == 'true'
|
||||
require_user if ENV['PUBLIC'] == 'false'
|
||||
end
|
||||
|
||||
def current_user_session
|
||||
|
|
Loading…
Reference in a new issue