Search for digitals through variants

This commit is contained in:
Michael Gall
2011-12-19 18:46:11 +01:00
committed by future
parent 4ecf99a4ae
commit e1b4787988
2 changed files with 4 additions and 5 deletions
+4
View File
@@ -0,0 +1,4 @@
Spree::Product.class_eval do
has_many :digitals, :through => :variants_including_master
end