Skip to content
Permalink
Browse files

RouterFactory: uses Nette 3 routing

  • Loading branch information...
dg committed Feb 11, 2019
1 parent 494928e commit b1b8a1db62c362247f4e7a95bdf6cd17e7d9485b
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>', 'Homepage:default');
$router->addRoute('<presenter>/<action>', 'Homepage:default');
return $router;
}
}

0 comments on commit b1b8a1d

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