No route for Front:Sign:in()

Zerig
Člen | 70
+
0
-

Zdravím,
přesunul jsem jeden web, který fungoval na jiný server a začalo mi naskakovat toto:
No route for Front:Sign:in()
Nevíte čím to může být?

David Matějka
Moderator | 6445
+
0
-

ahoj, jak vypadá tvůj router?

Zerig
Člen | 70
+
0
-

David Matějka napsal(a):

ahoj, jak vypadá tvůj router?

<?php

use Nette\Application\Routers\RouteList,
	Nette\Application\Routers\Route,
	Nette\Application\Routers\SimpleRouter;


/**
 * Router factory.
 */
class RouterFactory
{

	/**
	 * @return Nette\Application\IRouter
	 */
	public function createRouter()
	{
		$router = new RouteList();
		$router[] = new Route('index.php', 'Homepage:default', Route::ONE_WAY);
		//$router[] = new Route('<presenter>/<action>[/<id>][/<is>]', 'Homepage:default');
		//$router[] = new Route('<presenter>/chap/<chap>', 'Homepage:chapter');


		$router[] = new Route('<presenter>[/<id>.html]', 'Homepage:default');

		//$router[] = new Route('<presenter>/id/<id>', 'Homepage:id');
		$router[] = new Route('<presenter>', 'Homepage:default');
		$router[] = new Route('<presenter>/<action>', 'Homepage:default');

		return $router;
	}



}

Editoval Zerig (13. 6. 2020 21:11)