DEV: replace deprecated ::className() with ::class (#232)
This commit is contained in:
committed by
Lorenzo Milesi
parent
3acec76fff
commit
e9bca86828
@ -53,7 +53,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
],
|
||||
],
|
||||
[
|
||||
'class' => ActionColumn::className(),
|
||||
'class' => ActionColumn::class,
|
||||
'template' => '{update} {delete}',
|
||||
'urlCreator' => function ($action, $model) {
|
||||
return Url::to(['/user/permission/' . $action, 'name' => $model['name']]);
|
||||
|
||||
@ -54,7 +54,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
],
|
||||
],
|
||||
[
|
||||
'class' => ActionColumn::className(),
|
||||
'class' => ActionColumn::class,
|
||||
'template' => '{update} {delete}',
|
||||
'urlCreator' => function ($action, $model) {
|
||||
return Url::to(['/user/role/' . $action, 'name' => $model['name']]);
|
||||
|
||||
@ -60,7 +60,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
],
|
||||
],
|
||||
[
|
||||
'class' => ActionColumn::className(),
|
||||
'class' => ActionColumn::class,
|
||||
'template' => '{update} {delete}',
|
||||
'urlCreator' => function ($action, $model) {
|
||||
return Url::to(['/user/rule/' . $action, 'name' => $model['name']]);
|
||||
|
||||
Reference in New Issue
Block a user