2012-04-29 22:27:38 +00:00
|
|
|
class NewsBulletinLink
|
|
|
|
|
|
|
|
include Mongoid::Document
|
|
|
|
include Mongoid::Timestamps
|
|
|
|
|
|
|
|
field :url
|
2012-07-25 19:37:07 +00:00
|
|
|
field :title, localize: true
|
2012-04-29 22:27:38 +00:00
|
|
|
|
|
|
|
field :should_destroy, :type => Boolean
|
|
|
|
|
|
|
|
belongs_to :news_bulletin
|
|
|
|
end
|