summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-16 07:51:56 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-16 07:51:56 +0000
commit4ee4fad19ae44a03ce8179ff11aa8f7681fc4549 (patch)
tree5c0b61ac81152f6c5dc58b8a62eddabaf0b75179
parentd42e8b3f5c816f05255d16f2eba2fdfac8166f66 (diff)
downloadredmine-4ee4fad19ae44a03ce8179ff11aa8f7681fc4549.tar.gz
redmine-4ee4fad19ae44a03ce8179ff11aa8f7681fc4549.zip
Menu items mapping.
git-svn-id: http://svn.redmine.org/redmine/trunk@16077 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/controllers/imports_controller.rb1
-rw-r--r--app/controllers/projects_controller.rb2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/imports_controller.rb b/app/controllers/imports_controller.rb
index 4c9f3e074..fb87c9bc8 100644
--- a/app/controllers/imports_controller.rb
+++ b/app/controllers/imports_controller.rb
@@ -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
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index ad38a15a6..9284b8d09 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -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]