Skip to content

Commit

Permalink
Merge branch 'hotfix/backend-menu'
Browse files Browse the repository at this point in the history
  • Loading branch information
themodernpk committed Mar 25, 2020
2 parents ac16e27 + 5ccc6e9 commit 1b255d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"keywords": ["laravel", "cms"],
"homepage": "https://www.webreinvent.com",
"license": "MIT",
"version": "0.4.1",
"version": "0.4.2",
"authors": [
{
"name": "WebReinvent",
Expand Down
2 changes: 1 addition & 1 deletion src/Entities/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ public function getPermissionsSlugs()
foreach ($roles as $role) {
$permissions = $role->permissions()->get();
foreach ($permissions as $permission) {
$permissions_list[$permission->id] = $permission->slug;
$permissions_list[] = $permission->slug;
}
}
return $permissions_list;
Expand Down

0 comments on commit 1b255d8

Please sign in to comment.