Corrected router:2.0/controller/page url management
This commit is contained in:
parent
19277aae87
commit
f085b32507
|
@ -26,7 +26,7 @@
|
||||||
"methods": ["GET"],
|
"methods": ["GET"],
|
||||||
"controller": "redirect:homepage",
|
"controller": "redirect:homepage",
|
||||||
"arguments": {
|
"arguments": {
|
||||||
"any": ".+"
|
"any": ".*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
* @url<String> Calling URI
|
* @url<String> Calling URI
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function __construct($pagename){
|
public function __construct($url){
|
||||||
$this->pagename = $pagename;
|
$this->pagename = $url['page'];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue