Tweaking response->render() location.
This commit is contained in:
parent
80448c3341
commit
4d2ecdbff2
|
@ -124,6 +124,19 @@
|
||||||
|
|
||||||
$response = Request::$route->call();
|
$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
|
| Persist The Session To Storage
|
||||||
|
|
|
@ -184,8 +184,6 @@ public static function prepare($response)
|
||||||
*/
|
*/
|
||||||
public function send()
|
public function send()
|
||||||
{
|
{
|
||||||
$this->render();
|
|
||||||
|
|
||||||
$this->cookies();
|
$this->cookies();
|
||||||
|
|
||||||
$this->foundation->prepare(Request::foundation());
|
$this->foundation->prepare(Request::foundation());
|
||||||
|
|
Loading…
Reference in New Issue