2011-07-14 00:48:42 +00:00
|
|
|
class Image < DesignFile
|
2011-10-18 03:21:24 +00:00
|
|
|
|
|
|
|
field :in_css, :type => Boolean
|
|
|
|
field :name
|
|
|
|
field :html_id
|
|
|
|
field :html_class
|
|
|
|
|
|
|
|
embedded_in :design_image, polymorphic: true
|
2011-09-14 07:11:50 +00:00
|
|
|
|
|
|
|
mount_uploader :file, ImageUploader
|
2011-07-12 08:02:41 +00:00
|
|
|
end
|