Merge branch 'master' of github.com:laravel/laravel

This commit is contained in:
Taylor Otwell 2012-04-18 20:36:51 -05:00
commit 9c823d42be
5 changed files with 6 additions and 6 deletions

View File

@ -125,7 +125,7 @@ protected function get($bundles)
if ($response['status'] == 'not-found')
{
throw new \Exception("There is not a bundle named [$bundle].");
throw new \Exception("There is no bundle named [$bundle].");
}
// If the bundle was retrieved successfully, we will add it to

View File

@ -148,7 +148,7 @@
|
| Finally we will register all of the bundles that have been defined for
| the application. None of them will be started, yet but will be setup
| so that they may be started by the develop at any time.
| so that they may be started by the developer at any time.
|
*/

View File

@ -312,7 +312,7 @@ public function response($method, $parameters = array())
$response = call_user_func_array(array($this, $action), $parameters);
// If the controller has specified a layout view. The response
// If the controller has specified a layout view the response
// returned by the controller method will be bound to that
// view and the layout will be considered the response.
if (is_null($response) and ! is_null($this->layout))

View File

@ -161,7 +161,7 @@ public static function group($attributes, Closure $callback)
*
* <code>
* // Register a route with the router
* Router::register('GET' ,'/', function() {return 'Home!';});
* Router::register('GET', '/', function() {return 'Home!';});
*
* // Register a route that handles multiple URIs with the router
* Router::register(array('GET', '/', 'GET /home'), function() {return 'Home!';});
@ -542,7 +542,7 @@ public static function routes()
$fallback = array_get(static::$fallback, $method, array());
// When building the array of routes, we'll merge in all of the fallback
// routes for each request methdo individually. This allows us to avoid
// routes for each request method individually. This allows us to avoid
// collisions when merging the arrays together.
$routes[$method] = array_merge($routes[$method], $fallback);
}

View File

@ -40,7 +40,7 @@ public static function home($https = false)
$route = Router::find('home');
// If a route named "home" exists, we'll route to that instead of using
// the single slash root URI. THis allows the HTTPS attribute to be
// the single slash root URI. This allows the HTTPS attribute to be
// respected instead of being hard-coded in the redirect.
if ( ! is_null($route))
{