Update laravel/documentation/views/home.md
Response::view() does not take a status code as the second parameter.
This commit is contained in:
parent
7140be474d
commit
2f48bbba12
|
@ -56,7 +56,7 @@ #### Returning a custom response:
|
||||||
|
|
||||||
#### Returning a custom response containing a view:
|
#### Returning a custom response containing a view:
|
||||||
|
|
||||||
return Response::view('home', 200, $headers);
|
return Response::view('home', $headers);
|
||||||
|
|
||||||
#### Returning a JSON response:
|
#### Returning a JSON response:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue