venue_management/app/models/seminar_file.rb

15 lines
238 B
Ruby
Raw Normal View History

2016-06-29 06:57:45 +00:00
# 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