mirror of
https://github.com/10h30/Test-Eloquent-Relationships.git
synced 2026-07-11 18:56:11 +09:00
Task 7 - polymorphic
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<ul>
|
||||
@foreach ($attachments as $attachment)
|
||||
<li>{{ $attachment->filename }} {{ get_class($attachment->attachable) }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
Reference in New Issue
Block a user