Skip to content

Commit

Permalink
Update responses.md
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Apr 16, 2020
1 parent 4ae159e commit e3614e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion responses.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ If you are redirecting to a route with an "ID" parameter that is being populated

return redirect()->route('profile', [$user]);

If you would like to customize the value that is placed in the route parameter, you can specify the column in the route parameter definition like so `profile/{id:slug}` or you can override the `getRouteKey` method on your Eloquent model:
If you would like to customize the value that is placed in the route parameter, you can specify the column in the route parameter definition (`profile/{id:slug}`) or you can override the `getRouteKey` method on your Eloquent model:

/**
* Get the value of the model's route key.
Expand Down

0 comments on commit e3614e4

Please sign in to comment.