mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Do not redirect to /guest if step is specified
This commit is contained in:
@@ -94,7 +94,7 @@ class SplitCheckoutController < ::BaseController
|
||||
end
|
||||
|
||||
def redirect_to_step
|
||||
return redirect_to_guest unless spree_current_user
|
||||
return redirect_to_guest if !spree_current_user && !params[:step]
|
||||
|
||||
case @order.state
|
||||
when "cart", "address", "delivery"
|
||||
|
||||
Reference in New Issue
Block a user