no message

This commit is contained in:
BarboraFleg
2019-04-04 18:34:40 +02:00
commit ce48ca4a21
589 changed files with 82184 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
<?php
namespace App;
use Nette\Application\Routers\IRoute;
use Nette\Application\Routers\Route;
use Nette\Application\Routers\RouteList;
use Nette\StaticClass;
class RouterFactory
{
use StaticClass;
/**
* @return IRouter
*/
public static function createRouter()
{
$router = new RouteList;
$router[]= new Route('<presenter>/<action>[/<id>]', 'Calculator:default');
return $router;
}
}