浏览代码

Changing the route execution block procedure

ahwelp 2 年之前
父节点
当前提交
2d4f222269
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Routes/RouteCollection.php

+ 1 - 1
src/Routes/RouteCollection.php

@@ -170,7 +170,7 @@ class RouteCollection {
 
                 //If Executed, interrupt route chain?
                 if ($route->_block) {
-                    return;
+                    break;
                 }
             }
         }