Commit cc40fb5b by Thiago Talma

Fix brackets

There were too many brackets.
parent 071c2e55
...@@ -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,
],
], ],
], ],
] ]
......
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