Test failure.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11224 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2013-01-20 15:09:57 +00:00
parent 4c3fe2f1f8
commit 8b23d41cf9
1 changed files with 2 additions and 3 deletions

View File

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