Skip to content

Commit c1d01ba

Browse files
authored
Apply suggestions from code review
1 parent 3856bd6 commit c1d01ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

system/Router/RouteCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ public function __construct(FileLocator $locator, Modules $moduleConfig, Routing
273273
*
274274
* @return $this
275275
*/
276-
public function loadRoutes(string $routesFile = APPPATH . 'Routes.php')
276+
public function loadRoutes(string $routesFile = APPPATH . 'Config/Routes.php')
277277
{
278278
if ($this->didDiscover) {
279279
return $this;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
// In app/Config/Routing.php
4-
public boolean $translateURIDashes = true;
4+
$translateURIDashes = true;
55

66
// This can be overridden in the Routes file
77
$routes->setTranslateURIDashes(true);

0 commit comments

Comments
 (0)