Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7979 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f45fc1a1ba
commit
b7d0ee3f47
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue