#redirect after creating entity
5 messages · Page 1 of 1 (latest)
5 messages · Page 1 of 1 (latest)
I've put a afterCreate() into my CreateDog.php file.
I can confirm it does call that hook
it isn't honouring my redirect, and just redirecting to the default location
i've tried
redirect()->to(..)
and
return redirect->route(....)
Why is it not working? what's the correct way to take over the redirect flow?
got it - thanks - the pages I found were showing older methods. and chatgpt doesn't know about v1 to v3
Will give it a spin, thanks @acoustic sun
@acoustic sun works well, thanks