register_modules/app/models/module_show_file.rb

8 lines
155 B
Ruby

class ModuleShowFile
include Mongoid::Document
include Mongoid::Timestamps
mount_uploader :image, ImageUploader
belongs_to :registered_module
end