diff options
author | Arnold Daniels <arnold@jasny.net> | 2016-11-20 00:05:28 +0100 |
---|---|---|
committer | Arnold Daniels <arnold@jasny.net> | 2016-11-20 00:05:28 +0100 |
commit | 52b3eeb0f8be535d76aa76abe182c01279a45efd (patch) | |
tree | 198496503440a6a6240502aea6854b9d169afa07 /src/Controller.php | |
parent | 6528ca8d1b058760da858f5c38aef20e5c1b4a22 (diff) | |
download | controller-52b3eeb0f8be535d76aa76abe182c01279a45efd.zip controller-52b3eeb0f8be535d76aa76abe182c01279a45efd.tar.gz controller-52b3eeb0f8be535d76aa76abe182c01279a45efd.tar.bz2 |
Tests and fixes for RouteAction
Diffstat (limited to 'src/Controller.php')
-rw-r--r-- | src/Controller.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Controller.php b/src/Controller.php index bd82862..764d6f7 100644 --- a/src/Controller.php +++ b/src/Controller.php @@ -71,7 +71,7 @@ abstract class Controller * * @return ResponseInterface */ - abstract protected function run(); + abstract public function run(); /** @@ -90,6 +90,8 @@ abstract class Controller $this->useSession(); } - return $this->run(); + $this->run(); + + return $this->getResponse(); } } |