summaryrefslogtreecommitdiff
path: root/app/Core/Http/Router.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-12-30 14:54:54 +0100
committerFrederic Guillot <fred@kanboard.net>2015-12-30 14:54:54 +0100
commit5b45a082d9111d03774d6a393a38ea73970c9178 (patch)
treeb4c77e47337824d0cb14ac1e82ae01bd3ebcea34 /app/Core/Http/Router.php
parent019d83f3fc57010af403274241c4921ffb184974 (diff)
Remove arguments of beforeAction() method
Diffstat (limited to 'app/Core/Http/Router.php')
-rw-r--r--app/Core/Http/Router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Http/Router.php b/app/Core/Http/Router.php
index 8b58a947..0fe80ecc 100644
--- a/app/Core/Http/Router.php
+++ b/app/Core/Http/Router.php
@@ -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;
}