diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 6b2c139..1036fee 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -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