protected function _init()
{
parent::_init();
if (!$this->_config['continue'] && !preg_match('@{:action:.*?}@', $this->_template)) {
$this->_params += array('action' => 'index');
}
if (!$this->_pattern) {
$this->compile();
}
if (isset($this->_keys['controller']) || isset($this->_params['controller'])) {
$this->_persist = $this->_persist ?: array('controller');
}
}