Update security-authorization.md (#16082) [skip ci]

This commit is contained in:
pvlg
2018-04-13 00:37:26 +03:00
committed by Alexander Makarov
parent 91c369d8df
commit 88fc42329f

View File

@ -599,7 +599,7 @@ If the creation of role parameters is a simple operation, you may just specify a
'allow' => true,
'actions' => ['update'],
'roles' => ['updatePost'],
'roleParams' => ['postId' => Yii::$app->request->get('id')];
'roleParams' => ['postId' => Yii::$app->request->get('id')],
],
```