Selaa lähdekoodia

Changing the route execution block procedure

ahwelp 2 vuotta sitten
vanhempi
sitoutus
2d4f222269
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;
                 }
             }
         }