Tag
This commit is contained in:
parent
c12bf2b036
commit
142eecf6fa
|
@ -1,6 +1,8 @@
|
||||||
class Bulletin
|
class Bulletin
|
||||||
include Mongoid::Document
|
include Mongoid::Document
|
||||||
include Mongoid::Timestamps
|
include Mongoid::Timestamps
|
||||||
|
include OrbitTag::Taggable
|
||||||
|
include OrbitCategory::Categorizable
|
||||||
include Slug
|
include Slug
|
||||||
|
|
||||||
field :title, as: :slug_title, type: String, localize: true
|
field :title, as: :slug_title, type: String, localize: true
|
||||||
|
|
|
@ -6,7 +6,7 @@ module Announcement
|
||||||
base_url File.expand_path File.dirname(__FILE__)
|
base_url File.expand_path File.dirname(__FILE__)
|
||||||
widget_methods ["widget"]
|
widget_methods ["widget"]
|
||||||
taggable "Bulletin"
|
taggable "Bulletin"
|
||||||
categorizable "Bulletin"
|
categorizable
|
||||||
|
|
||||||
side_bar do
|
side_bar do
|
||||||
head_label_i18n 'announcement.announcement', icon_class: "icons-megaphone"
|
head_label_i18n 'announcement.announcement', icon_class: "icons-megaphone"
|
||||||
|
|
Loading…
Reference in New Issue