Skip to content

Commit

Permalink
Final piece to get translateURIDashes working appropriately. Fixes #1564
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnieezell committed Dec 20, 2018
1 parent 9e435ca commit 7993a78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system/Router/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ public function __construct(RouteCollectionInterface $routes)
*/
public function handle(string $uri = null)
{
$this->translateURIDashes = $this->collection->shouldTranslateURIDashes();

// If we cannot find a URI to match against, then
// everything runs off of it's default settings.
if (empty($uri))
Expand Down

0 comments on commit 7993a78

Please sign in to comment.