Skip to content

Commit

Permalink
fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed May 31, 2015
1 parent 422eeca commit e4a0177
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 @@ -82,7 +82,7 @@ The `json` method will automatically set the `Content-Type` header to `applicati

return response()->json(['name' => 'Abigail', 'state' => 'CA']);

If you would like to create a JSONP response, you may use the `jsonp` method in addition to `setCallback`:
If you would like to create a JSONP response, you may use the `json` method in addition to `setCallback`:

return response()->json(['name' => 'Abigail', 'state' => 'CA'])
->setCallback($request->input('callback'));
Expand Down

0 comments on commit e4a0177

Please sign in to comment.