venue_management/app/models/venue_management_file.rb

15 lines
255 B
Ruby

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