Skip to content

Commit

Permalink
Merge branch 'spree/master'
Browse files Browse the repository at this point in the history
* spree/master:
  Remove respond_override from Spree::Admin::VariantsController that was causing spree/spree#1506
  • Loading branch information
iloveitaly committed May 28, 2012
2 parents 8d11066 + 49dcdad commit d9f2625
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/controllers/spree/admin/variants_controller_decorator.rb
Original file line number Diff line number Diff line change
@@ -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 d9f2625

Please sign in to comment.