/** * @param string $path * * @return string */ protected function preparePath($path) { $path = parent::preparePath($path); if ($this->isAdminUri($path) === false) { $path = $this->aliases->getUriAlias($path); } return $path; }