update engine
This commit is contained in:
parent
a42cc52f02
commit
ed30fda285
|
@ -10,7 +10,7 @@ module ErEmail
|
|||
|
||||
side_bar do
|
||||
head_label_i18n 'er_email.er_email', icon_class: "icons-paperplane"
|
||||
available_for [:admin,:manager,:sub_manager]
|
||||
available_for "sub_managers"
|
||||
active_for_controllers (['admin/er_emails'])
|
||||
head_link_path "admin_er_emails_path"
|
||||
|
||||
|
@ -18,19 +18,19 @@ module ErEmail
|
|||
:link_path=>"admin_er_emails_path" ,
|
||||
:priority=>1,
|
||||
:active_for_action=>{'admin/er_emails'=>'index'},
|
||||
:available_for => [:all]
|
||||
:available_for => 'sub_managers'
|
||||
context_link 'new_',
|
||||
:link_path=>"new_admin_er_email_path" ,
|
||||
:priority=>2,
|
||||
:active_for_action=>{'admin/er_emails'=>'new'},
|
||||
:available_for => [:sub_manager]
|
||||
:available_for => 'sub_managers'
|
||||
context_link 'categories',
|
||||
:link_path=>"admin_module_app_categories_path" ,
|
||||
:link_arg=>"{:module_app_id=>ModuleApp.find_by(:key=>'er_email').id}",
|
||||
:priority=>3,
|
||||
:active_for_action=>{'admin/er_emails'=>'categories'},
|
||||
:active_for_category => 'ErEmail',
|
||||
:available_for => [:manager]
|
||||
:available_for => 'managers'
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue