Commit 4d2ecdbf authored by Taylor Otwell's avatar Taylor Otwell

Tweaking response->render() location.

parent 80448c33
......@@ -124,6 +124,19 @@ Request::$route = Routing\Router::route(Request::method(), $uri);
$response = Request::$route->call();
/*
|--------------------------------------------------------------------------
| "Render" The Response
|--------------------------------------------------------------------------
|
| The render method evaluates the content of the response and converts it
| to a string. This evaluates any views and sub-responses within the
| content and sets the raw string result as the new response.
|
*/
$response->render();
/*
|--------------------------------------------------------------------------
| Persist The Session To Storage
......
......@@ -184,8 +184,6 @@ class Response {
*/
public function send()
{
$this->render();
$this->cookies();
$this->foundation->prepare(Request::foundation());
......
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