Fix sidebar registration
This commit is contained in:
parent
73b6be057c
commit
7353c1c593
|
@ -27,14 +27,14 @@ module Gallery
|
|||
|
||||
context_link 'categories',
|
||||
: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=>'gallery').id}",
|
||||
:priority=>3,
|
||||
:active_for_action=>{'admin/galleries'=>'categories'},
|
||||
:active_for_category => 'Gallery'
|
||||
|
||||
context_link 'tags',
|
||||
: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=>'gallery').id}",
|
||||
:priority=>4,
|
||||
:active_for_action=>{'admin/galleries'=>'tags'},
|
||||
:active_for_tag => 'Gallery'
|
||||
|
|
Loading…
Reference in New Issue