Fix custom image class
This commit is contained in:
1 parent
b8243df5b5
commit
83827f82ec
2 files changed
+2
-2
No files matched your search
@@ -16,7 +16,7 @@ class Design
|
||||
embeds_many :themes
|
||||
embeds_many :javascripts
|
||||
embeds_many :images
|
||||
embeds_many :custom_images, as: :design_image
|
||||
embeds_many :custom_images, :class_name => 'Image', as: :design_image
|
||||
|
||||
validates_presence_of :title
|
||||
validates_presence_of :author
|
||||
|
||||
Reference in new issue
Block a user