Skip to content

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

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

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

Conversation

@mreq

@mreq mreq commented Feb 17, 2023

Copy link
Copy Markdown
Member

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