Update Tag and Category
This commit is contained in:
parent
f1d6975e52
commit
c12bf2b036
|
@ -1,7 +1,6 @@
|
|||
class Bulletin
|
||||
include Mongoid::Document
|
||||
include Mongoid::Timestamps
|
||||
include OrbitCategory::Categorizable
|
||||
include Slug
|
||||
|
||||
field :title, as: :slug_title, type: String, localize: true
|
||||
|
|
|
@ -5,9 +5,11 @@ module Announcement
|
|||
module_label "announcement.announcement"
|
||||
base_url File.expand_path File.dirname(__FILE__)
|
||||
widget_methods ["widget"]
|
||||
taggable "Bulletin"
|
||||
categorizable "Bulletin"
|
||||
|
||||
side_bar do
|
||||
head_label_i18n "announcement.announcement", icon_class: "icons-megaphone"
|
||||
head_label_i18n 'announcement.announcement', icon_class: "icons-megaphone"
|
||||
active_for_controllers ({:private=>['announcements']})
|
||||
head_link_path "admin_announcements_path"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue