From bd01b07b4b50c7a69340f6ff94a0b41796ba2274 Mon Sep 17 00:00:00 2001 From: Matias Griese Date: Wed, 23 Jan 2019 21:24:31 +0200 Subject: [PATCH] Reverted Route::__toString() behavior and added deprecated message for proper use (part 2) --- system/src/Grav/Framework/Route/Route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Grav/Framework/Route/Route.php b/system/src/Grav/Framework/Route/Route.php index 73bcae218..f303630e1 100644 --- a/system/src/Grav/Framework/Route/Route.php +++ b/system/src/Grav/Framework/Route/Route.php @@ -53,7 +53,7 @@ class Route public function getParts() { return [ - 'path' => $this->getUriPath(), + 'path' => $this->getUriPath(true), 'query' => $this->getUriQuery(), 'grav' => [ 'root' => $this->root,