improving some comments.
This commit is contained in:
parent
d29a127948
commit
e69f988fe5
|
@ -149,7 +149,7 @@ public static function group($attributes, Closure $callback)
|
|||
call_user_func($callback);
|
||||
|
||||
// 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.
|
||||
static::$group = null;
|
||||
}
|
||||
|
@ -176,7 +176,7 @@ public static function register($method, $route, $action)
|
|||
|
||||
// If the developer is registering multiple request methods to handle
|
||||
// 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))
|
||||
{
|
||||
foreach ($method as $http)
|
||||
|
|
Loading…
Reference in New Issue