BUGFIX: fix response regression in initiation of request handler

This commit is contained in:
Stevie Mayhew 2015-09-25 09:11:25 +12:00
parent 1aa1d65932
commit c0be44d238

View File

@ -133,6 +133,7 @@ class Controller extends RequestHandler implements TemplateGlobalProvider {
$this->pushCurrent(); $this->pushCurrent();
$this->urlParams = $request->allParams(); $this->urlParams = $request->allParams();
$this->setRequest($request); $this->setRequest($request);
$this->getResponse();
$this->setDataModel($model); $this->setDataModel($model);
$this->extend('onBeforeInit'); $this->extend('onBeforeInit');