Orbit/app/models/design_file.rb

12 lines
171 B
Ruby

class DesignFile
include Mongoid::Document
mount_uploader :file, AssetUploader
field :to_save, :type => Boolean
field :to_destroy, :type => Boolean
end