Prefix with a leading /.

8.0.x
Larry Garfield 2012-12-25 15:06:04 -06:00
parent 35230f21ec
commit 54740be85c
1 changed files with 1 additions and 1 deletions

View File

@ -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'));
}
}