Renamed Route::load to Route::forward.

This commit is contained in:
Taylor Otwell
2012-03-21 11:19:29 -05:00
parent 6e82a4ac8d
commit 3c3e913689

View File

@@ -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 {
* @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();
} }