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 6cce183 commit 2edbb89Copy full SHA for 2edbb89
src/Cmgmyr/Messenger/examples/views/messenger/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