Added back getPath.

This commit is contained in:
Simon Sessingo
2018-02-27 00:14:01 +01:00
parent b051bcf02b
commit 98bf95bfc9
+1 -1
View File
@@ -235,7 +235,7 @@ class Router
$this->request->setHasRewrite(false);
}
$url = ($this->request->getRewriteUrl() !== null) ? $this->request->getRewriteUrl() : $this->request->getUrl();
$url = ($this->request->getRewriteUrl() !== null) ? $this->request->getRewriteUrl() : $this->request->getUrl()->getPath();
/* @var $route ILoadableRoute */
foreach ($this->processedRoutes as $key => $route) {