I have seen as "there are no posts" if they are available as comment even the URL is working property. I have discover on laravel.com there is not lack of information or example inside the @if and @else . http://laravel.com/docs/4.2/templates#other-blade-control-structures.
here is my code is
@if ($post->comments)
<div class="text-center jumbotron">
<h1 style="color:red;">There are no posts</h1>
</div>
@endif
@foreach ($post->comments as $comment)
<div class="row">
<div class="col-xs-12">
{{{ $comment->user->name }}}:
<blockquote>{{{ $comment->text}}}</blockquote>
</div>
</div>
@endforeach
however I have tried change as @if ($post->comments as $comment) is said "syntax error, unexpected 'as' (T_AS)" do you have any idea to solve it?