@if (isset($support_messages)) @php $user = auth()->user(); if ($user->isAdmin()) { $conversationsRoute = route('admin.conversations.index'); $conversationRoute = 'admin.conversations.show'; } elseif ($user->isAuthor()) { $conversationsRoute = route('author.conversations.index'); $conversationRoute = 'author.conversations.show'; } else { $conversationsRoute = route('user.conversations.index'); $conversationRoute = 'user.conversations.show'; } @endphp
@endif