Prefix with a leading /.
parent
35230f21ec
commit
54740be85c
|
@ -21,7 +21,7 @@ class UrlMatcher extends BaseUrlMatcher {
|
|||
$context = new RequestContext();
|
||||
$context->fromRequest($request);
|
||||
$this->setContext($context);
|
||||
return $this->match($request->attributes->get('system_path'));
|
||||
return $this->match('/' . $request->attributes->get('system_path'));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue