function _after_call($method, &$params) { parent::_after_call($method, $params); $this->layout->controller = $this; Event::bind('system.output', array($this->layout, 'render')); }