1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

Menu items mapping.

git-svn-id: http://svn.redmine.org/redmine/trunk@16077 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-12-16 07:51:56 +00:00
parent d42e8b3f5c
commit 4ee4fad19a
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@
require 'csv'
class ImportsController < ApplicationController
menu_item :issues
before_action :find_import, :only => [:show, :settings, :mapping, :run]
before_action :authorize_global

View File

@ -18,7 +18,7 @@
class ProjectsController < ApplicationController
menu_item :overview
menu_item :settings, :only => :settings
menu_item :projects, :only => [:index, :new, :create]
menu_item :projects, :only => [:index, :new, :copy, :create]
before_action :find_project, :except => [ :index, :list, :new, :create, :copy ]
before_action :authorize, :except => [ :index, :list, :new, :create, :copy, :archive, :unarchive, :destroy]