active/app/models/act_file.rb

15 lines
225 B
Ruby
Raw Normal View History

2014-11-10 02:24:07 +00:00
# encoding: utf-8
class ActFile
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :file, AssetUploader
field :description, localize: true
field :title, localize: true
belongs_to :act
end