Fix custom image class

This commit is contained in:
Christophe Vilayphiou committed 2012-01-24 15:11:42 +08:00
1 parent b8243df5b5
commit 83827f82ec
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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