Orbit/app/models/design/image.rb

12 lines
208 B
Ruby

class Image < DesignFile
field :in_css, :type => Boolean
field :name
field :html_id
field :html_class
embedded_in :design_image, polymorphic: true
mount_uploader :file, ImageUploader
end