From 4ee542b575ee46521968790f493b49df2b597e00 Mon Sep 17 00:00:00 2001 From: Nick Denry Date: Sat, 17 Mar 2018 03:50:10 +0300 Subject: [PATCH] Fix typo --- docs/advanced-usage.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index e3ffd17..775c846 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -3,7 +3,7 @@ Advanced usage ### 1. Change action for column -You colud define your own action for any toggle column like follows: +You could define your own action for any toggle column like follows: Setup your toggle attribute at GridView columns section @@ -64,8 +64,8 @@ defaut is: ```php 'filter' => [ - "1" => Yii::t('yii', 'Yes'), - "0" => Yii::t('yii', 'No'), + '1' => Yii::t('yii', 'Yes'), + '0' => Yii::t('yii', 'No'), ]; ```