@php $tab = []; $tab['overview'] = [ 'title' => 'Overview', 'nav' => 'profile' ]; $tab['liked'] = [ 'title' => 'Liked', 'nav' => 'profile.liked' ]; if(isset(Auth::user()->id) AND Auth::user()->id == $listing->id) { $tab['history'] = [ 'title' => 'Watch history', 'nav' => 'profile.history' ]; } if(isset(Auth::user()->id) AND Auth::user()->id == $listing->id) { $tab['watchlist'] = [ 'title' => 'Watchlist', 'nav' => 'profile.watchlist' ]; } @endphp
{{$listing->about}}