diff --git a/app/controllers/imports_controller.rb b/app/controllers/imports_controller.rb index 4c9f3e0..fb87c9b 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 ad38a15..9284b8d 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]