protected function _init() { parent::_init(); $router = $this->_classes['router']; if ($this->_config['location']) { $location = $router::match($this->_config['location'], $this->_config['request']); $this->headers('Location', $location); } }