Browse Source

Update laravel/documentation/views/home.md

Response::view() does not take a status code as the second parameter.
Tao Wu 12 years ago
parent
commit
2f48bbba12
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/documentation/views/home.md

+ 1 - 1
laravel/documentation/views/home.md

@@ -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: