mirror of
https://github.com/10h30/Test-Eloquent-Relationships.git
synced 2026-07-11 18:56:11 +09:00
Taks 4 - belongsToMany pivot
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<ul>
|
||||
@foreach ($roles as $role)
|
||||
<li>{{ $role->name }} ({{ $role->users_count }})</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
Reference in New Issue
Block a user