Browse Source

add spacing to router.

Taylor Otwell 12 years ago
parent
commit
4f036cf7dd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      laravel/routing/router.php

+ 1 - 0
laravel/routing/router.php

@@ -175,6 +175,7 @@ class Router {
 	public static function register($method, $route, $action)
 	public static function register($method, $route, $action)
 	{
 	{
 		if (ctype_digit($route)) $route = "({$route})";
 		if (ctype_digit($route)) $route = "({$route})";
+
 		if (is_string($route)) $route = explode(', ', $route);
 		if (is_string($route)) $route = explode(', ', $route);
 
 
 		// If the developer is registering multiple request methods to handle
 		// If the developer is registering multiple request methods to handle