summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-29 18:14:12 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-29 18:14:12 +0000
commitb7d0ee3f471be28ddbce0bdd334c8d89805a6686 (patch)
tree48e92778b6008e5153fe0daa6414d06c0bd48c54 /app/controllers
parentf45fc1a1bada5d377801bed3754e0a45db7be7bb (diff)
downloadredmine-b7d0ee3f471be28ddbce0bdd334c8d89805a6686.tar.gz
redmine-b7d0ee3f471be28ddbce0bdd334c8d89805a6686.zip
Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7979 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 8c3f6f7b9..907af34a5 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -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