From afa71b26ccaded02c3c9433f7be802ee766cefe8 Mon Sep 17 00:00:00 2001 From: Denis Ivanov Date: Thu, 14 Jun 2012 10:49:09 -0400 Subject: [PATCH] Moving files into the spree namespace --- app/models/{ => spree}/adjustment_decorator.rb | 0 app/models/{ => spree}/line_item_decorator.rb | 0 app/models/{ => spree}/order_decorator.rb | 0 app/overrides/core_charges_admin_product_form_right.rb | 2 +- .../{ => spree}/admin/products/_core_amount_fields.html.erb | 0 5 files changed, 1 insertion(+), 1 deletion(-) rename app/models/{ => spree}/adjustment_decorator.rb (100%) rename app/models/{ => spree}/line_item_decorator.rb (100%) rename app/models/{ => spree}/order_decorator.rb (100%) rename app/views/{ => spree}/admin/products/_core_amount_fields.html.erb (100%) diff --git a/app/models/adjustment_decorator.rb b/app/models/spree/adjustment_decorator.rb similarity index 100% rename from app/models/adjustment_decorator.rb rename to app/models/spree/adjustment_decorator.rb diff --git a/app/models/line_item_decorator.rb b/app/models/spree/line_item_decorator.rb similarity index 100% rename from app/models/line_item_decorator.rb rename to app/models/spree/line_item_decorator.rb diff --git a/app/models/order_decorator.rb b/app/models/spree/order_decorator.rb similarity index 100% rename from app/models/order_decorator.rb rename to app/models/spree/order_decorator.rb diff --git a/app/overrides/core_charges_admin_product_form_right.rb b/app/overrides/core_charges_admin_product_form_right.rb index e0d93f4..f8ad921 100644 --- a/app/overrides/core_charges_admin_product_form_right.rb +++ b/app/overrides/core_charges_admin_product_form_right.rb @@ -1,5 +1,5 @@ Deface::Override.new(:virtual_path => "spree/admin/products/_form", :name => "core_charges_admin_product_form_right", :insert_bottom => "[data-hook='admin_product_form_right'], #admin_product_form_right[data-hook]", - :partial => "admin/products/core_amount_fields", + :partial => "spree/admin/products/core_amount_fields", :disabled => false) diff --git a/app/views/admin/products/_core_amount_fields.html.erb b/app/views/spree/admin/products/_core_amount_fields.html.erb similarity index 100% rename from app/views/admin/products/_core_amount_fields.html.erb rename to app/views/spree/admin/products/_core_amount_fields.html.erb