diff --git a/laravel/documentation/views/home.md b/laravel/documentation/views/home.md index 27383562..53a0c4f3 100644 --- a/laravel/documentation/views/home.md +++ b/laravel/documentation/views/home.md @@ -62,6 +62,10 @@ #### Returning a JSON response: return Response::json(array('name' => 'Batman')); +#### Returning a JSONP response: + + return Response::jsonp(array('name' => 'Batman')); + #### Returning Eloquent models as JSON: return Response::eloquent(User::find(1));