Application_Form/app/models/application_form_file.rb

15 lines
255 B
Ruby
Raw Normal View History

2016-06-29 06:57:45 +00:00
# encoding: utf-8
2022-03-10 02:11:18 +00:00
class ApplicationFormFile
2016-06-29 06:57:45 +00:00
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :file, AssetUploader
field :description, localize: true
field :title, localize: true
2022-03-10 02:11:18 +00:00
belongs_to :application_form_main
2016-06-29 06:57:45 +00:00
end