forked from saurabh/personal-conference
15 lines
280 B
Ruby
15 lines
280 B
Ruby
|
class WritingConferenceFile
|
||
|
|
||
|
include Mongoid::Document
|
||
|
include Mongoid::Timestamps
|
||
|
|
||
|
mount_uploader :file, AssetUploader
|
||
|
|
||
|
field :description, localize: true
|
||
|
field :should_destroy, :type => Boolean
|
||
|
field :title, localize: true
|
||
|
|
||
|
belongs_to :writing_conference
|
||
|
|
||
|
end
|