added route::share method.
This commit is contained in:
@@ -332,6 +332,18 @@ class Route {
|
||||
Router::group($attributes, $callback);
|
||||
}
|
||||
|
||||
/**
|
||||
* Register many request URIs to a single action.
|
||||
*
|
||||
* @param array $routes
|
||||
* @param mixed $action
|
||||
* @return void
|
||||
*/
|
||||
public static function share($routes, $action)
|
||||
{
|
||||
Router::share($routes, $action);
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a HTTPS route with the router.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user