Patricio
Explore posts from serversDelete a Record intentionally with relationships
Hey everyone.
So, I want to manually take care of a record deletion.
There's a few relationships involved, and I want to use DB::transactions. I know I could use an Observer, but that's not explicit and I believe it won't use transactions.
My only issue is that after deleting the record, it doesn't navigate away. It seems it tries to reload the page before redirecting, and of course, the model is already gone by that time, and I get a 404, instead of a redirect.
Here is the code I'm using on a custom action (tried to customize a
DeleteAction
before, but similar result.
Thanks for any tips!
7 replies
Package development with UI
Hey everyone.
Is there any standard and/or automated way, to run a webapp within the package repository?
I was expecting some like this:
Best I can think of is going through the Orchestra-Dusk path, since probably it will have a running instance.
Is there a better way? Thanks
1 replies