summaryrefslogtreecommitdiffstats
path: root/app/controllers/issues_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 13:07:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-20 13:07:19 +0000
commit16e9ffce0d0e803f02e3660450120602bca8aff5 (patch)
tree67e40838004344d3b5ee98ef18d170210bf4c380 /app/controllers/issues_controller.rb
parent44ac1a0debc802b2ecbaa7cf7f763b373bf0fbb4 (diff)
downloadredmine-16e9ffce0d0e803f02e3660450120602bca8aff5.tar.gz
redmine-16e9ffce0d0e803f02e3660450120602bca8aff5.zip
Added a 'New issue' link in the main menu (accesskey 7).
The drop-down lists to add an issue on the project overview and the issue list are removed. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1081 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issues_controller.rb')
-rw-r--r--app/controllers/issues_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index 7a48282c9..643a4e0ef 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -17,6 +17,8 @@
class IssuesController < ApplicationController
layout 'base'
+ menu_item :new_issue, :only => :new
+
before_filter :find_issue, :except => [:index, :changes, :preview, :new, :update_form]
before_filter :find_project, :only => [:new, :update_form]
before_filter :authorize, :except => [:index, :changes, :preview, :update_form]