Update laravel/documentation/views/home.md

Response::view() does not take a status code as the second parameter.
This commit is contained in:
Tao Wu
2012-07-25 17:28:02 +03:00
parent 7140be474d
commit 2f48bbba12

View File

@@ -56,7 +56,7 @@ Sometimes you will need a little more control over the response sent to the brow
#### Returning a custom response containing a view:
return Response::view('home', 200, $headers);
return Response::view('home', $headers);
#### Returning a JSON response: