Commit 2f48bbba by Tao Wu

Update laravel/documentation/views/home.md

Response::view() does not take a status code as the second parameter.
parent 7140be47
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment