Skip to content

Commit 7993a78

Browse files
committed
Final piece to get translateURIDashes working appropriately. Fixes #1564
1 parent 9e435ca commit 7993a78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

system/Router/Router.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ public function __construct(RouteCollectionInterface $routes)
164164
*/
165165
public function handle(string $uri = null)
166166
{
167+
$this->translateURIDashes = $this->collection->shouldTranslateURIDashes();
168+
167169
// If we cannot find a URI to match against, then
168170
// everything runs off of it's default settings.
169171
if (empty($uri))

0 commit comments

Comments
 (0)