Browse Source

Renamed Route::load to Route::forward.

Taylor Otwell 12 years ago
parent
commit
3c3e913689
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/routing/route.php

+ 2 - 2
laravel/routing/route.php

@@ -380,7 +380,7 @@ class Route {
 	{
 		Filter::register($name, $callback);
 	}
-	
+
 	/**
 	 * Calls the specified route and returns its response.
 	 *
@@ -388,7 +388,7 @@ class Route {
 	 * @param  string    $uri
 	 * @return Response
 	 */
-	public static function load($method, $uri)
+	public static function forward($method, $uri)
 	{
 		return Router::route(strtoupper($method), $uri)->call();
 	}