Skip to content
Permalink
Browse files

RouterFactory: uses Nette 3 routing

  • Loading branch information...
dg committed Feb 11, 2019
1 parent d24ef6d commit 16e68e2d2e81817cb0bbb10830ff105e76917c5f
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/router/RouterFactory.php
@@ -16,7 +16,7 @@ final class RouterFactory
public static function createRouter(): RouteList
{
$router = new RouteList;
$router[] = new Route('<presenter>/<action>[/<id>]', 'Homepage:default');
$router->addRoute('<presenter>/<action>[/<id>]', 'Homepage:default');
return $router;
}
}

0 comments on commit 16e68e2

Please sign in to comment.
You can’t perform that action at this time.