File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 18
18
"php" : " >=7.2" ,
19
19
"nette/component-model" : " ^3.0" ,
20
20
"nette/http" : " ^3.0.2" ,
21
- "nette/routing" : " ^3.0.2 " ,
21
+ "nette/routing" : " ^3.0.5 " ,
22
22
"nette/utils" : " ^3.2.1 || ~4.0.0"
23
23
},
24
24
"suggest" : {
Original file line number Diff line number Diff line change @@ -32,12 +32,10 @@ public function __construct(?string $module = null)
32
32
33
33
34
34
/**
35
- * Maps HTTP request to an array .
35
+ * Support for modules .
36
36
*/
37
- public function match ( Nette \ Http \ IRequest $ httpRequest ): ?array
37
+ protected function afterMatch ( array $ params ): ?array
38
38
{
39
- $ params = parent ::match ($ httpRequest );
40
-
41
39
$ presenter = $ params [self ::PresenterKey] ?? null ;
42
40
if (is_string ($ presenter ) && strncmp ($ presenter , 'Nette: ' , 6 )) {
43
41
$ params [self ::PresenterKey] = $ this ->module . $ presenter ;
You can’t perform that action at this time.
0 commit comments