]> source.dussan.org Git - redmine.git/commitdiff
Fixes selected menu tab when issue creation fails.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 30 Apr 2010 10:48:19 +0000 (10:48 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 30 Apr 2010 10:48:19 +0000 (10:48 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3704 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/issues_controller.rb

index 95218e02258ba5472ca82c73838980a7effaf444..9ff4bf06d344a57f0870706f3c295c9ab45a53cf 100644 (file)
@@ -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]