@@ -18,6 +18,7 | |||||
18 | require 'csv' |
|
18 | require 'csv' | |
19 |
|
19 | |||
20 | class ImportsController < ApplicationController |
|
20 | class ImportsController < ApplicationController | |
|
21 | menu_item :issues | |||
21 |
|
22 | |||
22 | before_action :find_import, :only => [:show, :settings, :mapping, :run] |
|
23 | before_action :find_import, :only => [:show, :settings, :mapping, :run] | |
23 | before_action :authorize_global |
|
24 | before_action :authorize_global |
@@ -18,7 +18,7 | |||||
18 | class ProjectsController < ApplicationController |
|
18 | class ProjectsController < ApplicationController | |
19 | menu_item :overview |
|
19 | menu_item :overview | |
20 | menu_item :settings, :only => :settings |
|
20 | menu_item :settings, :only => :settings | |
21 | menu_item :projects, :only => [:index, :new, :create] |
|
21 | menu_item :projects, :only => [:index, :new, :copy, :create] | |
22 |
|
22 | |||
23 | before_action :find_project, :except => [ :index, :list, :new, :create, :copy ] |
|
23 | before_action :find_project, :except => [ :index, :list, :new, :create, :copy ] | |
24 | before_action :authorize, :except => [ :index, :list, :new, :create, :copy, :archive, :unarchive, :destroy] |
|
24 | before_action :authorize, :except => [ :index, :list, :new, :create, :copy, :archive, :unarchive, :destroy] |
General Comments 0
You need to be logged in to leave comments.
Login now