Renamed Route::load to Route::forward.
This commit is contained in:
parent
6e82a4ac8d
commit
3c3e913689
|
@ -380,7 +380,7 @@ public static function filter($name, $callback)
|
||||||
{
|
{
|
||||||
Filter::register($name, $callback);
|
Filter::register($name, $callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calls the specified route and returns its response.
|
* Calls the specified route and returns its response.
|
||||||
*
|
*
|
||||||
|
@ -388,7 +388,7 @@ public static function filter($name, $callback)
|
||||||
* @param string $uri
|
* @param string $uri
|
||||||
* @return Response
|
* @return Response
|
||||||
*/
|
*/
|
||||||
public static function load($method, $uri)
|
public static function forward($method, $uri)
|
||||||
{
|
{
|
||||||
return Router::route(strtoupper($method), $uri)->call();
|
return Router::route(strtoupper($method), $uri)->call();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue