diff --git a/route.php b/route.php index c1c602a..b020256 100644 --- a/route.php +++ b/route.php @@ -362,6 +362,7 @@ class route { $this->$method ($route, $function); } + return $this; } /** Do the mapping between the url and the route : call the function if