Skip to content

Commit 101ce01

Browse files
committed
ItemController::verbFilter updated & imports optimized
1 parent c177fb7 commit 101ce01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/controllers/ItemController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use yii\filters\ContentNegotiator;
88
use yii\filters\VerbFilter;
99
use yii\helpers\ArrayHelper;
10-
use yii\rbac\Item;
1110
use yii\rbac\Permission;
1211
use yii\rbac\Role;
1312
use yii\web\BadRequestHttpException;
@@ -39,6 +38,8 @@ public function behaviors()
3938
'actions' => [
4039
'save' => ['post'],
4140
'delete' => ['post'],
41+
'add-child' => ['post'],
42+
'remove-child' => ['post'],
4243
],
4344
],
4445

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy