Commit 3c3e9136 authored by Taylor Otwell's avatar Taylor Otwell

Renamed Route::load to Route::forward.

parent 6e82a4ac
...@@ -380,7 +380,7 @@ class Route { ...@@ -380,7 +380,7 @@ class Route {
{ {
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 @@ class Route { ...@@ -388,7 +388,7 @@ class Route {
* @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();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment