vlog/app/models/v_log_file.rb

11 lines
203 B
Ruby
Raw Normal View History

2015-12-26 14:02:01 +00:00
class VLogFile
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :file, AssetUploader
field :description, localize: true
field :title, localize: true
belongs_to :v_log
end