kristiwr
kristiwr
My code in routes.php: ``` Router::get( "{type}-selector/", "App\Controllers\SelectorController@handle" )->name(ROUTE_SELECTOR); Router::get( "{type}-selector/{query}", "App\Controllers\SelectorController@handle" )->name(ROUTE_SELECTOR_WITH_QUERY); ``` And from the view model that uses the route helper to generate a selector URL: ```...
It seems like the issue arises from AltoRouter->match() via Rareloop\Router\Router->match(). Router is only passing the URI path to AltoRouter, and AltoRouter->match() appears to lack support for query strings. Router line...
I'm going to try converting the route to use Lumberjack-style parameters, and have the selector view model use them to generate a traditional query string to embed in a data...
That worked! It would be a good idea to add a note to the documentation for the router and route helper saying that query strings are not supported - and...
I found a solution in the view helper. Here's the code I used: `view('errors/404.twig', $context, 404);` It would be helpful if the procedure for returning a 404 were explained in...