How to add a link to resource entry in a database notification?
I have a Controller in my laravel app that gets triggered when a create record form is submitted from a Vue frontend, and I am wondering how to add an action to the notification that navigates to the created record.
I tried this:
Where I get this error:
Any help is much appreciated!
2 Replies
you just need to remove the $complaint arg from the url function, its already available as defined above
Thank you! It works like this: