Updated documentation

This commit is contained in:
Simon Sessingø
2016-11-17 16:33:27 +01:00
parent c94523740b
commit 99f869b57d
2 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ class RouterBase {
if ($route->matchRoute($this->request)) {
if (!in_array($this->request->getMethod(), $route->getRequestMethods())) {
if (count($route->getRequestMethods()) && !in_array($this->request->getMethod(), $route->getRequestMethods())) {
$routeNotAllowed = true;
continue;
}