This commit is contained in:
manson 2014-04-20 20:23:52 +08:00
parent c12bf2b036
commit 142eecf6fa
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
class Bulletin
include Mongoid::Document
include Mongoid::Timestamps
include OrbitTag::Taggable
include OrbitCategory::Categorizable
include Slug
field :title, as: :slug_title, type: String, localize: true

View File

@ -6,7 +6,7 @@ module Announcement
base_url File.expand_path File.dirname(__FILE__)
widget_methods ["widget"]
taggable "Bulletin"
categorizable "Bulletin"
categorizable
side_bar do
head_label_i18n 'announcement.announcement', icon_class: "icons-megaphone"