fixed infitive redirect when not public

master
Espen Antonsen 2011-01-12 16:37:14 +08:00
parent c71f7d49ba
commit a68c00ab5f
1 changed files with 1 additions and 1 deletions

View File

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