Mám routu $router[] = new Route('<presenter>/<action>[/<id>]', 'Homepage:default'); Ako sa dostanem ku tomu id z presentera??
$router[] = new Route('<presenter>/<action>[/<id>]', 'Homepage:default');
id
Nejjednodušší:
public function renderDetail($id) { // <- Nette automaticky dosadí }
nebo
public function renderDefault() { $this->getParam('id'); }
Oka, díky.