Skip to content

Commit

Permalink
Remove respond_override from Spree::Admin::VariantsController that wa…
Browse files Browse the repository at this point in the history
…s causing spree/spree#1506
  • Loading branch information
radar committed May 8, 2012
1 parent 59ebbb5 commit 6ce816d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/controllers/spree/admin/variants_controller_decorator.rb
@@ -1,8 +1,4 @@
Spree::Admin::VariantsController.class_eval do
respond_override :update => {:html => {
:success => lambda { redirect_to(@variant.is_master ? volume_prices_admin_product_variant_url(@variant.product, @variant) : collection_url) },
:failure => lambda { redirect_to(@variant.is_master ? volume_prices_admin_product_variant_url(@variant.product, @variant) : collection_url) } } }

def load_resource_instance
parent

Expand Down

0 comments on commit 6ce816d

Please sign in to comment.