diff --git a/laravel/routing/router.php b/laravel/routing/router.php index 4264254b..9fc946b0 100644 --- a/laravel/routing/router.php +++ b/laravel/routing/router.php @@ -175,6 +175,7 @@ class Router { public static function register($method, $route, $action) { if (ctype_digit($route)) $route = "({$route})"; + if (is_string($route)) $route = explode(', ', $route); // If the developer is registering multiple request methods to handle