From f3d52825aef26e9afabba28aafe43a2ad830195f Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Tue, 26 Jun 2012 07:54:55 +1000 Subject: [PATCH] Remove redirect_back_or_default, which was causing unexpected behaviour --- app/controllers/spree/distributors_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/spree/distributors_controller.rb b/app/controllers/spree/distributors_controller.rb index bee2dc444d..98ac1930a8 100644 --- a/app/controllers/spree/distributors_controller.rb +++ b/app/controllers/spree/distributors_controller.rb @@ -19,7 +19,7 @@ module Spree order.save! end - redirect_back_or_default(root_path) + redirect_to root_path end def deselect @@ -30,7 +30,7 @@ module Spree order.save! end - redirect_back_or_default(root_path) + redirect_to root_path end end end