Spree namespace changes

This commit is contained in:
Michael Gall authored and future committed 2011-12-19 18:46:11 +01:00
1 parent 191158639e
commit 414cf485ab
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
Order.class_eval do Spree::Order.class_eval do
# Are all products/variants of this Order to be downloaded by the customer? # Are all products/variants of this Order to be downloaded by the customer?
def digital? def digital?
+1 -1
View File
@@ -1,4 +1,4 @@
Variant.class_eval do Spree::Variant.class_eval do
has_one :digital, :dependent => :destroy has_one :digital, :dependent => :destroy
after_save :destroy_digital, :if => :deleted? after_save :destroy_digital, :if => :deleted?