Corrected router:2.0/controller/page url management

This commit is contained in:
xdrm-brackets 2016-12-10 20:57:39 +01:00
parent 19277aae87
commit f085b32507
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@
"methods": ["GET"],
"controller": "redirect:homepage",
"arguments": {
"any": ".+"
"any": ".*"
}
}

View File

@ -13,8 +13,8 @@
* @url<String> Calling URI
*
*/
public function __construct($pagename){
$this->pagename = $pagename;
public function __construct($url){
$this->pagename = $url['page'];
}