#88 admin menu

This commit is contained in:
Karel Picman 2017-12-19 15:07:46 +01:00
parent 53112b2917
commit ce493be771

View File

@ -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