File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ class DepartmentController extends Controller implements WithPermissionGenerator
54
54
55
55
public function __construct()
56
56
{
57
- $this->permissionGroupTitle ('Department Crud Permissions')
58
- ->permissionExcludeMethods ('index');// index associate route won't be generated as permission names
57
+ $this->permissionsTitle ('Department Crud Permissions')
58
+ ->permissionsExclude ('index');// index associate route won't be generated as permission names
59
59
}
60
60
}
61
61
```
@@ -76,7 +76,7 @@ class DesignationController extends Controller implements WithPermissionGenerato
76
76
77
77
public function __construct()
78
78
{
79
- $this->permissionAppendTo (DepartmentController::class);
79
+ $this->permissionsAppendTo (DepartmentController::class);
80
80
}
81
81
}
82
82
```
You can’t perform that action at this time.
0 commit comments