Added default null parameter value to RouterController and RouterResource

This commit is contained in:
Simon Sessingø
2016-11-17 15:03:18 +01:00
parent 2db0601e20
commit eb160ff7bb
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ class RouterResource extends LoadableRoute implements IControllerRoute {
protected $controller;
public function __construct($url, $controller) {
$this->url = $url;
$this->setUrl($url);
$this->controller = $controller;
}