The assumptions in the commit message are not currently valid: For a non-i18n
CMS page the RoutingCacheBuilder will clear out the custom URL.
This reverts commit
4a40217a1e5bfe9a2f7d9f4b7c485add6baa7213.
*/
public function resolveCustomController($application, $controller)
{
- if ($controller === '') {
- throw new \InvalidArgumentException('The given controller must not be empty.');
- }
-
if (isset($this->applicationOverrides['lookup'][$application][$controller])) {
$application = $this->applicationOverrides['lookup'][$application][$controller];
}