Skip to content

Commit 8f675dc

Browse files
committed
Fixing tests after routing options PR was merged
1 parent 675dfef commit 8f675dc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

system/Router/Router.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,8 @@ public function handle(?string $uri = null)
251251
if ($useAutoRoute && ! $useDefinedRoutes) {
252252
$this->autoRoute($uri);
253253

254+
$this->processRouteAttributes();
255+
254256
return $this->controllerName();
255257
}
256258

@@ -261,6 +263,8 @@ public function handle(?string $uri = null)
261263
$this->filtersInfo = $this->collection->getFiltersForRoute($this->matchedRoute[0]);
262264
}
263265

266+
$this->processRouteAttributes();
267+
264268
return $this->controller;
265269
}
266270

0 commit comments

Comments
 (0)