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 1818 "php" : " >=7.2" ,
1919 "nette/component-model" : " ^3.0" ,
2020 "nette/http" : " ^3.0.2" ,
21- "nette/routing" : " ^3.0.2 " ,
21+ "nette/routing" : " ^3.0.5 " ,
2222 "nette/utils" : " ^3.2.1 || ~4.0.0"
2323 },
2424 "suggest" : {
Original file line number Diff line number Diff line change @@ -32,12 +32,10 @@ public function __construct(?string $module = null)
3232
3333
3434 /**
35- * Maps HTTP request to an array .
35+ * Support for modules .
3636 */
37- public function match ( Nette \ Http \ IRequest $ httpRequest ): ?array
37+ protected function afterMatch ( array $ params ): ?array
3838 {
39- $ params = parent ::match ($ httpRequest );
40-
4139 $ presenter = $ params [self ::PresenterKey] ?? null ;
4240 if (is_string ($ presenter ) && strncmp ($ presenter , 'Nette: ' , 6 )) {
4341 $ params [self ::PresenterKey] = $ this ->module . $ presenter ;
You can’t perform that action at this time.
0 commit comments