fix archive category

fix page adding failed
This commit is contained in:
Fu Matthew committed 2013-03-04 14:40:29 +08:00
1 parent ca946fc881
commit 15b9839b76
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ module Archive
head_label_i18n 'archive.archive',:icon_class=>"icons-archive"
available_for [:admin,:guest,:manager,:sub_manager]
active_for_controllers ({:private=>['archive_file_categorys','archive_files'],:public=>['panel/archive/back_end/tags']})
active_for_object_auth ['BulletinCategory']
# active_for_object_auth ['BulletinCategory']
head_link_path "panel_archive_back_end_archive_files_path"
+1 -1
View File
@@ -44,7 +44,7 @@ module Gallery
head_label_i18n 'gallery.gallery',:icon_class=>"icons-pictures"
available_for [:admin,:guest,:manager,:sub_manager]
active_for_controllers ({:private=>['albums','album_images','gallery_categories','/panel/gallery/back_end/tags']})
active_for_object_auth ['BulletinCategory']
active_for_object_auth ['GalleryCategory']
head_link_path "panel_gallery_back_end_albums_path"