Orbit/app/models/mail_cron_file.rb

14 lines
209 B
Ruby
Raw Permalink Normal View History

class MailCronFile
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :file, AssetUploader
field :should_destroy, :type => Boolean
field :title
belongs_to :mail_cron
end