mirror of
https://github.com/anteo/redmine_custom_workflows.git
synced 2026-01-26 00:04:20 +00:00
#88 admin menu
This commit is contained in:
parent
53112b2917
commit
ce493be771
3
init.rb
3
init.rb
@ -8,7 +8,8 @@ Redmine::Plugin.register :redmine_custom_workflows do
|
||||
url 'http://www.redmine.org/plugins/custom-workflows'
|
||||
|
||||
menu :admin_menu, :custom_workflows, {:controller => 'custom_workflows', :action => 'index'},
|
||||
:if => Proc.new { User.current.admin? }, :caption => :label_custom_workflow_plural
|
||||
:if => Proc.new { User.current.admin? }, :caption => :label_custom_workflow_plural,
|
||||
:html => {:class => 'icon icon-workflows'}
|
||||
|
||||
permission :manage_project_workflow, {}, :require => :member
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user