%PDF- %PDF-
Direktori : /data/www_bck/varak.net_bck/warhammer.varak.net/app/router/ |
Current File : //data/www_bck/varak.net_bck/warhammer.varak.net/app/router/RouterFactory.php |
<?php namespace App; use Nette; use Nette\Application\Routers\Route; use Nette\Application\Routers\RouteList; class RouterFactory { use Nette\StaticClass; /** * @return Nette\Application\IRouter */ public static function createRouter() { $router = new RouteList; $router[] = new Route('<presenter>/<action>[/<id>]', 'Homepage:default'); return $router; } }