How to redirect to a page using an event handler #8738
stephenmeehanuk
started this conversation in
General
Replies: 2 comments 2 replies
-
I've created a second It triggers the message
As I'm using |
Beta Was this translation helpful? Give feedback.
0 replies
-
You cannot modify the redirect itself. Interesting timing though. That's what this PR is trying to achieve. #8729 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, hoping someone can help with this.
I've made an event handler using
FormSubmitted
.session()->flash
.redirect
attribute from theform
tagif ($response->getStatusCode() === 201)
, but I can't get it to work?Here's my event handler, everything works accept for the redirect.
Beta Was this translation helpful? Give feedback.
All reactions