Merge pull request #1020 from metaphox/develop

Removes status parameter for Response::view() in documentation section "Views & Responses"
This commit is contained in:
Jason Lewis 2012-07-30 20:27:32 -07:00
commit c9710525d9
1 changed files with 3 additions and 3 deletions

View File

@ -54,9 +54,9 @@ #### Returning a custom response:
return Response::make('Hello World!', 200, $headers);
});
#### Returning a custom response containing a view:
#### Returning a custom response containing a view, with binding data:
return Response::view('home', 200, $headers);
return Response::view('home', array('foo' => 'bar'));
#### Returning a JSON response:
@ -257,4 +257,4 @@ #### Generating a 404 error response:
#### Generating a 500 error response:
return Response::error('500');
return Response::error('500');