lorisleiva / laravel-actions

⚡️ Laravel components that take care of one specific task
https://laravelactions.com
MIT License
2.52k stars 124 forks source link

Route issue when using Ziggy #149

Closed raftalks closed 2 years ago

raftalks commented 2 years ago

There seems to be a conflicting issue with this package or with Ziggy when using this package.

I am using Ziggy to get the list of routes loaded to frontend react application which seems to have an issue with Actions registered in the routes. This may not be relevant to this package but thought of letting you guys know and clarify how I should work around the issue.

To recreate the issue, simply install Ziggy as per their instruction and try register an action route, you will get an exception thrown.

lorisleiva commented 2 years ago

Could you please describe the issue?

raftalks commented 2 years ago

Sorry,

Finally figured out, the issue is not related to package.

Further checking realised it was a mistake one of the route that was registered as mentioned in the issue below

https://github.com/tighten/ziggy/issues/364