Fix album widget options

This commit is contained in:
chris committed 2013-01-07 00:40:43 +08:00
1 parent be00cec4d7
commit c6111460f5
7 files changed
+18 -28

No files matched your search

@@ -39,9 +39,8 @@ class Admin::PagePartsController < ApplicationController
when 'announcement'
@categories = BulletinCategory.all
@tags = AnnouncementTag.all
when 'news'
@categories = NewsBulletinCategory.all
@tags = NewsTag.all
when 'gallery'
@albums = GalleryAlbum.all
when 'web_resource'
@categories = WebLinkCategory.all
@tags = WebResourceTag.all
@@ -102,9 +101,8 @@ class Admin::PagePartsController < ApplicationController
when 'announcement'
@categories = BulletinCategory.all
@tags = AnnouncementTag.all
when 'news'
@categories = NewsBulletinCategory.all
@tags = NewsTag.all
when 'gallery'
@albums = GalleryAlbum.all
when 'web_resource'
@categories = WebLinkCategory.all
@tags = WebResourceTag.all