Application_Form/app/models/application_form_file.rb

15 lines
255 B
Ruby

# encoding: utf-8
class ApplicationFormFile
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :file, AssetUploader
field :description, localize: true
field :title, localize: true
belongs_to :application_form_main
end