orchidsoftware / platform

Orchid is a @laravel package that allows for rapid application development of back-office applications, admin/user panels, and dashboards.
https://orchid.software
MIT License
4.26k stars 631 forks source link

Check if the $url in the action button class has ended with / #2758

Open silverhand7 opened 6 months ago

silverhand7 commented 6 months ago

Improvement

I don't know if anyone ever needs this, but in my case, I set my Laravel application to always have a trailing slash at the end, and I came up with an issue that the URL in the button has a double slash before the method name: image

Changes

If the $url in the action button class has ended with / no need to hard-coded additional /