We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 157b271 commit 565eb43Copy full SHA for 565eb43
src/Cmgmyr/Messenger/examples/views/index.blade.php
@@ -11,7 +11,7 @@
11
<?php $class = $thread->isUnread($currentUserId) ? 'alert-info' : ''; ?>
12
<div class="media alert {{$class}}">
13
<h4 class="media-heading">{{link_to('messages/' . $thread->id, $thread->subject)}}</h4>
14
- <p>{{$thread->latestMessage()->body}}</p>
+ <p>{{$thread->latestMessage->body}}</p>
15
<p><small><strong>Participants:</strong> {{ $thread->participantsString(Auth::id()) }}</small></p>
16
</div>
17
@endforeach
0 commit comments