Commit d4a54e58 by Qiang Xue

Merge pull request #4978 from thiagotalma/patch-1

Fix brackets
parents f50f840a cc40fb5b
......@@ -161,15 +161,13 @@ You may configure [[yii\base\Application::controllerMap|controller map]] in the
```php
[
'controllerMap' => [
[
// declares "account" controller using a class name
'account' => 'app\controllers\UserController',
// declares "article" controller using a configuration array
'article' => [
'class' => 'app\controllers\PostController',
'enableCsrfValidation' => false,
],
// declares "account" controller using a class name
'account' => 'app\controllers\UserController',
// declares "article" controller using a configuration array
'article' => [
'class' => 'app\controllers\PostController',
'enableCsrfValidation' => false,
],
],
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment