From e5180884c1e51e5751e7c7a7b1b44a5c25b934b7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 30 Apr 2010 10:48:19 +0000 Subject: [PATCH] Fixes selected menu tab when issue creation fails. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3704 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/issues_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 95218e022..9ff4bf06d 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -16,7 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. class IssuesController < ApplicationController - menu_item :new_issue, :only => :new + menu_item :new_issue, :only => [:new, :create] default_search_scope :issues before_filter :find_issue, :only => [:show, :edit, :update, :reply]