Skip to content

Commit

Permalink
Merge pull request laravel#2173 from rebekahheacock/patch-1
Browse files Browse the repository at this point in the history
fix typo in routing.md
  • Loading branch information
taylorotwell committed Feb 28, 2016
2 parents 177ee97 + e2ad582 commit f045b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ Laravel route model binding provides a convenient way to inject model instances

### Implicit Binding

Laravel will automatically resolve type-hinted Eloquent model's defined in routes or controller actions whose variable names match a route segment name. For example:
Laravel will automatically resolve type-hinted Eloquent models defined in routes or controller actions whose variable names match a route segment name. For example:

Route::get('api/users/{user}', function (App\User $user) {
return $user->email;
Expand Down

0 comments on commit f045b16

Please sign in to comment.