Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit 4e12374

Browse files
committed
roles too
1 parent ba55f28 commit 4e12374

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/resources/views/admin/bulma/roles/index.blade.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424
<tr id="item-{{ $role->id }}">
2525
<td>{{ $role->name }}</td>
2626
<td>
27-
@foreach ($role->permissions->pluck('name') as $permission)
28-
<span class="tag is-medium is-medium is-info">{{ $permission }}</span>
27+
@foreach ($role->permissions as $perm)
28+
<span class="tag is-medium is-medium is-info">
29+
<a href="{{ route($crud_prefix.'.permissions.edit',[$perm->id]) }}" class="is-white">{{ $perm->name }}</a>
30+
</span>
2931
@endforeach
3032
</td>
3133
<td>

0 commit comments

Comments
 (0)