Skip to content

Commit ca4bb96

Browse files
author
Nur Alam
committed
read me updated
1 parent 7449051 commit ca4bb96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ class DepartmentController extends Controller implements WithPermissionGenerator
5454

5555
public function __construct()
5656
{
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
5959
}
6060
}
6161
```
@@ -76,7 +76,7 @@ class DesignationController extends Controller implements WithPermissionGenerato
7676

7777
public function __construct()
7878
{
79-
$this->permissionAppendTo(DepartmentController::class);
79+
$this->permissionsAppendTo(DepartmentController::class);
8080
}
8181
}
8282
```

0 commit comments

Comments
 (0)