Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
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
PSDI Army
yii2
Commits
ee3fa07f
Commit
ee3fa07f
authored
Nov 03, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo fix [skip ci]
parent
bdf26640
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
README.md
docs/guide/README.md
+1
-1
runtime-routing.md
docs/guide/runtime-routing.md
+1
-1
No files found.
docs/guide/README.md
View file @
ee3fa07f
...
@@ -49,7 +49,7 @@ Handling Requests
...
@@ -49,7 +49,7 @@ Handling Requests
*
[
Overview
](
runtime-overview.md
)
*
[
Overview
](
runtime-overview.md
)
*
[
Bootstrapping
](
runtime-bootstrapping.md
)
*
[
Bootstrapping
](
runtime-bootstrapping.md
)
*
[
Routing and U
rl
Creation
](
runtime-routing.md
)
*
[
Routing and U
RL
Creation
](
runtime-routing.md
)
*
[
Requests
](
runtime-requests.md
)
*
[
Requests
](
runtime-requests.md
)
*
[
Responses
](
runtime-responses.md
)
*
[
Responses
](
runtime-responses.md
)
*
[
Sessions and Cookies
](
runtime-sessions-cookies.md
)
*
[
Sessions and Cookies
](
runtime-sessions-cookies.md
)
...
...
docs/guide/runtime-routing.md
View file @
ee3fa07f
...
@@ -94,7 +94,7 @@ failure of the routing process.
...
@@ -94,7 +94,7 @@ failure of the routing process.
### Default Route <a name="default-route"></a>
### Default Route <a name="default-route"></a>
When a request is parsed into an empty route, the so-called
*default route*
will be used, instead. By default,
When a request is parsed into an empty route, the so-called
*default route*
will be used, instead. By default,
the default route is
`site/index`
, which refers to the
`index`
action of the
`site`
controller. You may
customize
the default route is
`site/index`
, which refers to the
`index`
action of the
`site`
controller. You may
customize it by configuring the
[
[yii\web\Application::defaultRoute|defaultRoute
]
] property of the application
customize it by configuring the
[
[yii\web\Application::defaultRoute|defaultRoute
]
] property of the application
in the application configuration like the following:
in the application configuration like the following:
...
...
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