mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Remove redirect_back_or_default, which was causing unexpected behaviour
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user