protected function renderSetup($args) { parent::renderSetup($args); if (isset($this->currentPath)) { $this->oldAppPath = CurrentPath::set($this->currentPath); } }