Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
4d2ecdbf
Commit
4d2ecdbf
authored
Apr 28, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweaking response->render() location.
parent
80448c33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
laravel.php
laravel/laravel.php
+13
-0
response.php
laravel/response.php
+0
-2
No files found.
laravel/laravel.php
View file @
4d2ecdbf
...
...
@@ -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
...
...
laravel/response.php
View file @
4d2ecdbf
...
...
@@ -184,8 +184,6 @@ class Response {
*/
public
function
send
()
{
$this
->
render
();
$this
->
cookies
();
$this
->
foundation
->
prepare
(
Request
::
foundation
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment