This commit is contained in:
manson 2014-04-20 20:23:18 +08:00
parent 63a4209cac
commit 5c65cdc9bb
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
class Banner
include Mongoid::Document
include Mongoid::Timestamps
include OrbitTag::Taggable
field :ad_fx, type: String
field :height, type: Integer
field :speed, type: Integer

View File

@ -7,7 +7,7 @@ module AdBanner
widget_methods ["widget"]
taggable "Banner"
categorizable "Banner"
categorizable
side_bar do
head_label_i18n 'ad_banner.ad_banner', icon_class: "icons-landscape"