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
482aed93
Commit
482aed93
authored
Apr 16, 2012
by
Pavel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected typos in the comments.
Signed-off-by:
Pavel
<
proger.xp@gmail.com
>
parent
728a320c
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
bundler.php
laravel/cli/tasks/bundle/bundler.php
+1
-1
core.php
laravel/core.php
+1
-1
controller.php
laravel/routing/controller.php
+1
-1
router.php
laravel/routing/router.php
+2
-2
url.php
laravel/url.php
+1
-1
No files found.
laravel/cli/tasks/bundle/bundler.php
View file @
482aed93
...
@@ -125,7 +125,7 @@ class Bundler extends Task {
...
@@ -125,7 +125,7 @@ class Bundler extends Task {
if
(
$response
[
'status'
]
==
'not-found'
)
if
(
$response
[
'status'
]
==
'not-found'
)
{
{
throw
new
\Exception
(
"There is no
t a
bundle named [
$bundle
]."
);
throw
new
\Exception
(
"There is no bundle named [
$bundle
]."
);
}
}
// If the bundle was retrieved successfully, we will add it to
// If the bundle was retrieved successfully, we will add it to
...
...
laravel/core.php
View file @
482aed93
...
@@ -148,7 +148,7 @@ if (isset($_SERVER['CLI']['ENV']))
...
@@ -148,7 +148,7 @@ if (isset($_SERVER['CLI']['ENV']))
|
|
| Finally we will register all of the bundles that have been defined for
| Finally we will register all of the bundles that have been defined for
| the application. None of them will be started, yet but will be setup
| the application. None of them will be started, yet but will be setup
| so that they may be started by the develop at any time.
| so that they may be started by the develop
er
at any time.
|
|
*/
*/
...
...
laravel/routing/controller.php
View file @
482aed93
...
@@ -312,7 +312,7 @@ abstract class Controller {
...
@@ -312,7 +312,7 @@ abstract class Controller {
$response
=
call_user_func_array
(
array
(
$this
,
$action
),
$parameters
);
$response
=
call_user_func_array
(
array
(
$this
,
$action
),
$parameters
);
// If the controller has specified a layout view
. T
he response
// If the controller has specified a layout view
t
he response
// returned by the controller method will be bound to that
// returned by the controller method will be bound to that
// view and the layout will be considered the response.
// view and the layout will be considered the response.
if
(
is_null
(
$response
)
and
!
is_null
(
$this
->
layout
))
if
(
is_null
(
$response
)
and
!
is_null
(
$this
->
layout
))
...
...
laravel/routing/router.php
View file @
482aed93
...
@@ -161,7 +161,7 @@ class Router {
...
@@ -161,7 +161,7 @@ class Router {
*
*
* <code>
* <code>
* // Register a route with the router
* // Register a route with the router
* Router::register('GET'
,
'/', function() {return 'Home!';});
* Router::register('GET'
,
'/', function() {return 'Home!';});
*
*
* // Register a route that handles multiple URIs with the router
* // Register a route that handles multiple URIs with the router
* Router::register(array('GET', '/', 'GET /home'), function() {return 'Home!';});
* Router::register(array('GET', '/', 'GET /home'), function() {return 'Home!';});
...
@@ -542,7 +542,7 @@ class Router {
...
@@ -542,7 +542,7 @@ class Router {
$fallback
=
array_get
(
static
::
$fallback
,
$method
,
array
());
$fallback
=
array_get
(
static
::
$fallback
,
$method
,
array
());
// When building the array of routes, we'll merge in all of the fallback
// When building the array of routes, we'll merge in all of the fallback
// routes for each request meth
do
individually. This allows us to avoid
// routes for each request meth
od
individually. This allows us to avoid
// collisions when merging the arrays together.
// collisions when merging the arrays together.
$routes
[
$method
]
=
array_merge
(
$routes
[
$method
],
$fallback
);
$routes
[
$method
]
=
array_merge
(
$routes
[
$method
],
$fallback
);
}
}
...
...
laravel/url.php
View file @
482aed93
...
@@ -40,7 +40,7 @@ class URL {
...
@@ -40,7 +40,7 @@ class URL {
$route
=
Router
::
find
(
'home'
);
$route
=
Router
::
find
(
'home'
);
// If a route named "home" exists, we'll route to that instead of using
// If a route named "home" exists, we'll route to that instead of using
// the single slash root URI. T
H
is allows the HTTPS attribute to be
// the single slash root URI. T
h
is allows the HTTPS attribute to be
// respected instead of being hard-coded in the redirect.
// respected instead of being hard-coded in the redirect.
if
(
!
is_null
(
$route
))
if
(
!
is_null
(
$route
))
{
{
...
...
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