Code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7979 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-11-29 18:14:12 +00:00
parent f45fc1a1ba
commit b7d0ee3f47
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ class ApplicationController < ActionController::Base
if @project.is_public? || User.current.member_of?(@project) || User.current.admin?
true
else
User.current.logged? ? render_403 : require_login
deny_access
end
else
@project = nil