From cc40fb5b13e1a780eb7c40c2b0ddec7ce5a7528b Mon Sep 17 00:00:00 2001 From: Thiago Talma Date: Tue, 9 Sep 2014 23:24:51 -0300 Subject: [PATCH] Fix brackets There were too many brackets. --- docs/guide/structure-controllers.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/guide/structure-controllers.md b/docs/guide/structure-controllers.md index edcd319fd7..79737be6e5 100644 --- a/docs/guide/structure-controllers.md +++ b/docs/guide/structure-controllers.md @@ -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 "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 "article" controller using a configuration array + 'article' => [ + 'class' => 'app\controllers\PostController', + 'enableCsrfValidation' => false, ], ], ]