Update category and tag

This commit is contained in:
manson committed 2014-05-13 15:40:35 +08:00
1 parent 15d297ffff
commit c171e4c00c
2 files changed
+22 -15

No files matched your search

+14
View File
@@ -23,6 +23,20 @@ module Gallery
:link_path=>"new_admin_gallery_path" ,
:priority=>2,
:active_for_action=>{'admin/galleries'=>"new"}
context_link 'categories',
:link_path=>"admin_module_app_categories_path" ,
:link_arg=>{:module_app_id=>get_module_app.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},
:priority=>4,
:active_for_action=>{'admin/galleries'=>'tags'},
:active_for_tag => 'Gallery'
end
end
end