View difference between Paste ID: PBRHgnLg and 8qBN8190
SHOW: | | - or go back to the newest paste.
1-
<?
1+
2-
		$frontRouter[] = new Route('<presenter>[/<action>][/<id>]', array(
2+
		$frontRouter[] = new Route('<presenter pruvodce|guide>[/<action>][/<id>]', array(
3-
		    'presenter' => array(
3+
		    'presenter' => array(
4-
		        Route::VALUE => 'Page',
4+
		        Route::VALUE => 'Page',
5-
		        Route::FILTER_TABLE => array(
5+
		        Route::FILTER_TABLE => array(
6-
		            // řetězec v URL => presenter
6+
		            // řetězec v URL => presenter
7-
		            'pruvodce' => 'Guide',
7+
		            'pruvodce' => 'Guide',
8-
		            
8+
		            
9-
		        ),
9+
		        ),
10-
		    ),
10+
		    ),
11-
		    'action' => array(
11+
		    'action' => array(
12-
		    	Route::VALUE => 'default',
12+
		    	Route::VALUE => 'default',
13-
		        Route::FILTER_TABLE => array(
13+
		        Route::FILTER_TABLE => array(
14-
		            // řetězec v URL => akce
14+
		            // řetězec v URL => akce
15-
		            'krok2' => 'step2',
15+
		            'krok2' => 'step2',
16-
		            'krok3' => 'step3',
16+
		            'krok3' => 'step3',
17-
		            'krok4' => 'step4',
17+
		            'krok4' => 'step4',
18-
		            
18+
		            
19-
		        ),
19+
		        ),
20-
		    ),
20+
		    ),
21-
		    'id' => NULL,
21+
		    'id' => NULL,
22
		));