diff --git a/responses.md b/responses.md index c17cb2e1bf6..e3778973425 100644 --- a/responses.md +++ b/responses.md @@ -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.