Permalink
Browse files

fixed CLI router

  • Loading branch information...
1 parent a071376 commit e79ed80e54c33c5a189a73c659db2d7f45f31705 @juzna committed Mar 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/bootstrap.php
View
2 app/bootstrap.php
@@ -39,9 +39,9 @@
$container = $configurator->createContainer();
// Setup router
+$container->router[] = new \Nette\Application\Routers\CliRouter;
$container->router[] = new Route('index.php', 'Homepage:default', Route::ONE_WAY);
$container->router[] = new Route('<presenter>/<action>[/<id>]', 'Homepage:default');
-$container->router[] = new \Nette\Application\Routers\CliRouter();
// Configure and run the application!

0 comments on commit e79ed80

Please sign in to comment.