laravel-trailing-slash
laravel-trailing-slash copied to clipboard
Added capability to specify which routes should be considered to add …
Added a config file to configure which routes should have the trailing slash.
Default value is ***** which means that trailing slash must be added to all routes (which was the default behaviour). You can publish the config file and specify an array of routes. It will match final urls, route names and route patterns
Looks nice, thanks for the pull request! But maybe the better option would be to set "exclude" parameter to exclude some links from being trailing slashed? Also, we need to cover this with some Tests.
@fsasvari any fix for the signed route?
@furiousjayed no, unfortunately, nothing yet. Currently don't have time to deal with there "features", but if anyone of you guys has, feel free to create a PR for it, I will be glad to check it and merge it.