mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 12:01:23 +01:00
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
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user