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
7a963197
Commit
7a963197
authored
Nov 21, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dont return 404 error on null return from existing route.
parent
e55f9e9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
route.php
laravel/routing/route.php
+0
-9
No files found.
laravel/routing/route.php
View file @
7a963197
...
@@ -111,15 +111,6 @@ class Route {
...
@@ -111,15 +111,6 @@ class Route {
}
}
}
}
// If we still don't have a response, we're out of options and
// will use the 404 response. We will still let the response
// hit the after filter in case the developer is doing any
// logging or other work where every response is needed.
if
(
is_null
(
$response
))
{
$response
=
Response
::
error
(
'404'
);
}
// The after filter and the framework expects all responses to
// The after filter and the framework expects all responses to
// be instances of the Response class. If the route did not
// be instances of the Response class. If the route did not
// return an instsance of Response, we will make on now.
// return an instsance of Response, we will make on now.
...
...
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