Adding the WEB routes to the White list

This commit is contained in:
2026-04-26 18:43:05 -03:00
parent 63f3820a2b
commit ee481dbe80
+1 -1
View File
@@ -295,7 +295,7 @@ class RouteCollection
if (is_array($verb)) {
$route->_verb = array_map('strtoupper', $verb);
} else if (strtoupper($verb) == 'WEB') {
$route->_verb[] = self::_verbsWeb;
$route->_verb = array_merge($route->_verb, self::$_verbsWeb);
} else {
$route->_verb[] = strtoupper($verb);
}