announcement-test/app/models/bulletin_feed.rb

9 lines
200 B
Ruby
Raw Normal View History

2015-07-08 10:11:25 +00:00
class BulletinFeed
include Mongoid::Document
include Mongoid::Timestamps
include Slug
field :title, as: :slug_title, type: String, localize: true
field :tag_ids, type: Array, default: []
end