From 4f036cf7ddd2a18bded17edc80031e97324cb9f2 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 3 May 2012 08:36:32 -0500 Subject: [PATCH] add spacing to router. --- laravel/routing/router.php | 1 + 1 file changed, 1 insertion(+) 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