diff --git a/bundle/Routing/GeneratorRouter.php b/bundle/Routing/GeneratorRouter.php index aa3fb878..7cfe4462 100644 --- a/bundle/Routing/GeneratorRouter.php +++ b/bundle/Routing/GeneratorRouter.php @@ -158,10 +158,6 @@ private function resolveSiteaccessAndGenerate(APILocation $location, array $para $siteaccess = $this->currentSiteaccess->name; } - if ($siteaccess === $this->currentSiteaccess->name) { - return $this->generator->generate($location, $parameters, $referenceType); - } - $parameters['siteaccess'] = $siteaccess; $url = $this->generator->generate(