Browse Source

Changing the route execution block procedure

ahwelp 2 năm trước cách đây
mục cha
commit
2d4f222269
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
                 }
             }
         }