Description
It would be nice to have the option to disable the removal of trailing slashes in urls for dynamic query parameters.
An example Angular UIRouter:
$stateProvider.state('index', { url: '/dashboard/', templateUrl: 'app/view/dashboard.html', controller: 'controller.dashboard', });
dashboard/?param1=value¶m2=value
re-routes to: dashboard?param1=value¶m2=value
Which will no longer match the route.
This will allow for dynamic query parameters to be passed to the controller.
The removal of the trailing slash is a nice feature, and works great for most cases - would it be an idea to disable on a route by route basis?
{ "name": "app", "root": "public", "routes": { "**": "index.html" }, "clean_urls": true, "error_page": "error.html" "slashes": ["/dashboard", "/orders"] }