Fix false 405 by removing key in routes array
This commit is contained in:
parent
bf6da3b990
commit
053d4f30b2
|
@ -28,7 +28,7 @@ class Router
|
|||
|
||||
$trimmed = self::trimRoute($route);
|
||||
|
||||
self::$routes[$trimmed] = [
|
||||
self::$routes[] = [
|
||||
'route' => $trimmed,
|
||||
'action' => $action,
|
||||
'methods' => $methods,
|
||||
|
|
Loading…
Reference in New Issue
Block a user