Explorar el Código

Changing the route execution block procedure

ahwelp hace 2 años
padre
commit
2d4f222269
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
                 }
             }
         }