redirect after creating entity
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?3 Replies
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 @Coolman
@Coolman works well, thanks
Cool! Don't forget to mark as the solution