Skip to content

Redirect when GETing /order/confirm instead of 404#16

Open
mreq wants to merge 1 commit intomasterfrom
petr/get-confirm-redirect
Open

Redirect when GETing /order/confirm instead of 404#16
mreq wants to merge 1 commit intomasterfrom
petr/get-confirm-redirect

Conversation

@mreq
Copy link
Member

@mreq mreq commented Feb 17, 2023

When confirming an invalid order, the user stays on /order/confirm.

Refreshing causes 404 as orders#show catches the path. This catches the confirm "id" and redirects to orders#edit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants