improving some comments.

This commit is contained in:
Taylor Otwell 2012-02-23 09:09:56 -06:00
parent d29a127948
commit e69f988fe5
1 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ public static function group($attributes, Closure $callback)
call_user_func($callback); call_user_func($callback);
// Once the routes have been registered, we want to set the group to // Once the routes have been registered, we want to set the group to
// null so the attributes will not be assigned to any of the routes // null so the attributes will not be given to any of the routes
// that are added after the group is declared. // that are added after the group is declared.
static::$group = null; static::$group = null;
} }
@ -176,7 +176,7 @@ public static function register($method, $route, $action)
// If the developer is registering multiple request methods to handle // If the developer is registering multiple request methods to handle
// the URI, we'll spin through each method and register the route // the URI, we'll spin through each method and register the route
// for each of them along with each URI. // for each of them along with each URI and action.
if (is_array($method)) if (is_array($method))
{ {
foreach ($method as $http) foreach ($method as $http)