Commit c9710525 authored by Jason Lewis's avatar Jason Lewis

Merge pull request #1020 from metaphox/develop

Removes status parameter for Response::view() in documentation section "Views & Responses"
parents 7b1b76bb 0dd1af66
...@@ -54,9 +54,9 @@ Sometimes you will need a little more control over the response sent to the brow ...@@ -54,9 +54,9 @@ Sometimes you will need a little more control over the response sent to the brow
return Response::make('Hello World!', 200, $headers); 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: #### 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