]> source.dussan.org Git - redmine.git/commitdiff
Test failure.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 20 Jan 2013 15:09:57 +0000 (15:09 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 20 Jan 2013 15:09:57 +0000 (15:09 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11224 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/projects_controller.rb

index df1d637769b384b87c3f1290f402526e51deb484..269059b3f5e5b13256766f9883464075834ebc42 100644 (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