summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-20 15:09:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-20 15:09:57 +0000
commit8b23d41cf92e7d9304b61a91dbd8da2e9f77987d (patch)
treefc18594f2bc3ba57bf2dc6842611465849a9c51e /app/controllers
parent4c3fe2f1f80180046789474d84c15698b9ef22ec (diff)
downloadredmine-8b23d41cf92e7d9304b61a91dbd8da2e9f77987d.tar.gz
redmine-8b23d41cf92e7d9304b61a91dbd8da2e9f77987d.zip
Test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11224 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects_controller.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index df1d63776..269059b3f 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -139,9 +139,8 @@ class ProjectsController < ApplicationController
# Show @project
def show
- if params[:jump]
- # try to redirect to the requested menu item
- redirect_to_project_menu_item(@project, params[:jump])
+ # try to redirect to the requested menu item
+ if params[:jump] && redirect_to_project_menu_item(@project, params[:jump])
return
end