register_modules/app/models/module_show_file.rb

8 lines
155 B
Ruby
Raw Permalink Normal View History

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