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
d4a54e58
Commit
d4a54e58
authored
Sep 09, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4978 from thiagotalma/patch-1
Fix brackets
parents
f50f840a
cc40fb5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
structure-controllers.md
docs/guide/structure-controllers.md
+7
-9
No files found.
docs/guide/structure-controllers.md
View file @
d4a54e58
...
@@ -161,15 +161,13 @@ You may configure [[yii\base\Application::controllerMap|controller map]] in the
...
@@ -161,15 +161,13 @@ You may configure [[yii\base\Application::controllerMap|controller map]] in the
```
php
```
php
[
[
'controllerMap'
=>
[
'controllerMap'
=>
[
[
// declares "account" controller using a class name
// declares "account" controller using a class name
'account'
=>
'app\controllers\UserController'
,
'account'
=>
'app\controllers\UserController'
,
// declares "article" controller using a configuration array
// declares "article" controller using a configuration array
'article'
=>
[
'article'
=>
[
'class'
=>
'app\controllers\PostController'
,
'class'
=>
'app\controllers\PostController'
,
'enableCsrfValidation'
=>
false
,
'enableCsrfValidation'
=>
false
,
],
],
],
],
],
]
]
...
...
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