getpathtranslation invalid path temporary workarround
This commit is contained in:
parent
7e460b9764
commit
88f7b8c285
|
@ -55,8 +55,8 @@ class MaterioDecoupledLanguageLinks extends ControllerBase {
|
|||
if (!$url_object) {
|
||||
// if path does not exists rtuen an error
|
||||
return new JsonResponse(array(
|
||||
"links" = [],
|
||||
"error" = "path {$path} is not valid"
|
||||
"links" => [],
|
||||
"error" => "path {$path} is not valid"
|
||||
));
|
||||
}
|
||||
$route_name = $url_object->getRouteName();
|
||||
|
|
Loading…
Reference in New Issue