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