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
e69f988f
Commit
e69f988f
authored
Feb 23, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improving some comments.
parent
d29a1279
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
router.php
laravel/routing/router.php
+2
-2
No files found.
laravel/routing/router.php
View file @
e69f988f
...
@@ -149,7 +149,7 @@ class Router {
...
@@ -149,7 +149,7 @@ class Router {
call_user_func
(
$callback
);
call_user_func
(
$callback
);
// Once the routes have been registered, we want to set the group to
// Once the routes have been registered, we want to set the group to
// null so the attributes will not be
assigned
to any of the routes
// null so the attributes will not be
given
to any of the routes
// that are added after the group is declared.
// that are added after the group is declared.
static
::
$group
=
null
;
static
::
$group
=
null
;
}
}
...
@@ -176,7 +176,7 @@ class Router {
...
@@ -176,7 +176,7 @@ class Router {
// If the developer is registering multiple request methods to handle
// If the developer is registering multiple request methods to handle
// the URI, we'll spin through each method and register the route
// the URI, we'll spin through each method and register the route
// for each of them along with each URI.
// for each of them along with each URI
and action
.
if
(
is_array
(
$method
))
if
(
is_array
(
$method
))
{
{
foreach
(
$method
as
$http
)
foreach
(
$method
as
$http
)
...
...
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