Open MartkCz opened 3 months ago
This can be fixed by adding the following code before article route.
$router->addRoute('/', [
'presenter' => 'Home',
'action' => 'default',
'type' => null,
]);
but I think it's undesirable behavior
This should work:
$router->addRoute('articles ? type=<type>', [
'presenter' => 'Home',
'action' => 'default',
'type' => 'articles'
]);
It's not working. Still need to add router with null
Version: 3.1.0
Steps To Reproduce
Latte
Router
Output
Curl output
curl -I http://localhost:9997/
Expected Behavior