Laravel wild card problems
<p>I have <code>master.blade.php</code> as one of my layouts. When I load <code>post.blade.php</code> in browser without a wildcard like <code>url:localhost8000/post</code>  it works and full required page is loaded but when I use a wild card <code>url:localhost8000/post/1</code> the page is not completely loaded. Only the footer is displayed. Header and body appears white fire bug shows the data is present which is passed through the wildcard.</p>

<p>Both the pages should appear as same because the difference is only of wildcard in url.</p>

<p>My route file is</p>

<pre><code>Route::get('post','PostsController@index');
Route::get('post/{post}','PostsController@show');
</code></pre>

<p>Here is my PostsController</p>

<pre><code>class PostsController extends Controller{
public function index(){
    return view('posts.post');
}

public function show(Post $post){
    return view('posts.post',compact('post'));
}
}
</code></pre>