Remove redirect_back_or_default, which was causing unexpected behaviour

This commit is contained in:
Rohan Mitchell
2012-06-26 07:54:55 +10:00
parent 9258d47e55
commit f3d52825ae

View File

@@ -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