class Template
include Mongoid::Document
include Mongoid::Timestamps
field :title, type: String
field :author, type: String
mount_uploader :preview, ImageUploader
mount_uploader :template, ProductUploader
end