Remove arguments of beforeAction() method

This commit is contained in:
Frederic Guillot
2015-12-30 14:54:54 +01:00
parent 019d83f3fc
commit 5b45a082d9
2 changed files with 16 additions and 14 deletions

View File

@@ -147,7 +147,7 @@ class Router extends Base
}
$instance = new $class($this->container);
$instance->beforeAction($this->controller, $this->action);
$instance->beforeAction();
$instance->{$this->action}();
return $instance;
}