15 lines
238 B
Ruby
15 lines
238 B
Ruby
|
# encoding: utf-8
|
||
|
class SeminarFile
|
||
|
|
||
|
include Mongoid::Document
|
||
|
include Mongoid::Timestamps
|
||
|
|
||
|
mount_uploader :file, AssetUploader
|
||
|
|
||
|
field :description, localize: true
|
||
|
field :title, localize: true
|
||
|
|
||
|
belongs_to :seminar_main
|
||
|
|
||
|
end
|