mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +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:
parent
d42e8b3f5c
commit
4ee4fad19a
@ -18,6 +18,7 @@
|
|||||||
require 'csv'
|
require 'csv'
|
||||||
|
|
||||||
class ImportsController < ApplicationController
|
class ImportsController < ApplicationController
|
||||||
|
menu_item :issues
|
||||||
|
|
||||||
before_action :find_import, :only => [:show, :settings, :mapping, :run]
|
before_action :find_import, :only => [:show, :settings, :mapping, :run]
|
||||||
before_action :authorize_global
|
before_action :authorize_global
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
class ProjectsController < ApplicationController
|
class ProjectsController < ApplicationController
|
||||||
menu_item :overview
|
menu_item :overview
|
||||||
menu_item :settings, :only => :settings
|
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 :find_project, :except => [ :index, :list, :new, :create, :copy ]
|
||||||
before_action :authorize, :except => [ :index, :list, :new, :create, :copy, :archive, :unarchive, :destroy]
|
before_action :authorize, :except => [ :index, :list, :new, :create, :copy, :archive, :unarchive, :destroy]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user