adding upload package for design. bugs in
This commit is contained in:
1 parent
34d0b8fac1
commit
e0811c14db
10 files changed
+117
-8
No files matched your search
@@ -12,7 +12,7 @@ class Design
|
||||
validates_presence_of :author
|
||||
|
||||
embeds_one :layout
|
||||
mount_uploader :structure_css, DesignFileUploader
|
||||
mount_uploader :structure_css, AssetUploader
|
||||
|
||||
embeds_many :themes
|
||||
embeds_many :javascripts
|
||||
|
||||
@@ -5,7 +5,5 @@ class DesignFile
|
||||
|
||||
field :to_save, :type => Boolean
|
||||
field :to_destroy, :type => Boolean
|
||||
|
||||
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user