From 191158639e74989caccd58e5f58d425bf54fa6a5 Mon Sep 17 00:00:00 2001 From: Michael Gall Date: Tue, 6 Dec 2011 12:24:19 +1100 Subject: [PATCH] Adding namespace support --- app/models/line_item_decorator.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/line_item_decorator.rb b/app/models/line_item_decorator.rb index b073c03..73bcbfb 100644 --- a/app/models/line_item_decorator.rb +++ b/app/models/line_item_decorator.rb @@ -1,4 +1,4 @@ -LineItem.class_eval do +Spree::LineItem.class_eval do has_many :digital_links @@ -19,4 +19,4 @@ LineItem.class_eval do end end -end \ No newline at end of file +end