Fix sidebar registration
This commit is contained in:
parent
f4eab719f8
commit
12a62c26b5
|
@ -29,14 +29,14 @@ module Announcement
|
||||||
:available_for => [:sub_manager]
|
:available_for => [:sub_manager]
|
||||||
context_link 'categories',
|
context_link 'categories',
|
||||||
:link_path=>"admin_module_app_categories_path" ,
|
:link_path=>"admin_module_app_categories_path" ,
|
||||||
:link_arg=>{:module_app_id=>get_module_app.id},
|
:link_arg=>"{:module_app_id=>ModuleApp.find_by(:key=>'announcement').id}",
|
||||||
:priority=>3,
|
:priority=>3,
|
||||||
:active_for_action=>{'admin/announcements'=>'categories'},
|
:active_for_action=>{'admin/announcements'=>'categories'},
|
||||||
:active_for_category => 'Announcement',
|
:active_for_category => 'Announcement',
|
||||||
:available_for => [:manager]
|
:available_for => [:manager]
|
||||||
context_link 'tags',
|
context_link 'tags',
|
||||||
:link_path=>"admin_module_app_tags_path" ,
|
:link_path=>"admin_module_app_tags_path" ,
|
||||||
:link_arg=>{:module_app_id=>get_module_app.id},
|
:link_arg=>"{:module_app_id=>ModuleApp.find_by(:key=>'announcement').id}",
|
||||||
:priority=>4,
|
:priority=>4,
|
||||||
:active_for_action=>{'admin/announcements'=>'tags'},
|
:active_for_action=>{'admin/announcements'=>'tags'},
|
||||||
:active_for_tag => 'Announcement',
|
:active_for_tag => 'Announcement',
|
||||||
|
|
Loading…
Reference in New Issue