summaryrefslogtreecommitdiffstats
path: root/app/controllers/projects_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-19 10:30:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-19 10:30:02 +0000
commit124a459d55858cecd65e57ae7f312d99bcbcbb96 (patch)
tree090e11125e905e9ede7534c3e80c4521d14ba301 /app/controllers/projects_controller.rb
parent33d78d605d0b6582512b5bca24c087730635e928 (diff)
downloadredmine-124a459d55858cecd65e57ae7f312d99bcbcbb96.tar.gz
redmine-124a459d55858cecd65e57ae7f312d99bcbcbb96.zip
Use the main menu for project related actions that support cross-project display.
git-svn-id: http://svn.redmine.org/redmine/trunk@15983 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r--app/controllers/projects_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index ba7483c38..98fc23f5f 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -18,6 +18,7 @@
class ProjectsController < ApplicationController
menu_item :overview
menu_item :settings, :only => :settings
+ menu_item :projects, :only => [:index, :new, :create]
before_action :find_project, :except => [ :index, :list, :new, :create, :copy ]
before_action :authorize, :except => [ :index, :list, :new, :create, :copy, :archive, :unarchive, :destroy]