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
pauldragoonis
pauldragoonisOP3mo ago
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
Bruno Pereira
Bruno Pereira3mo ago
Cool! Don't forget to mark as the solution
Want results from more Discord servers?
Add your server