title: How can i pass the title of the blog instead of the id in readmore in laravel
body: <p>The route used to open the single blog:</p>
  <pre><code>Route::get('/blog/{title}', 'EdificController@showblog');//single blog view
  </code></pre>
  <p>The main blog blog route that lists all the blogs</p>
  <pre><code>Route::get('/blog', 'EdificController@blog')-&gt;name('blog');//blog view
  </code></pre>
  <p>The controller( front-end) to show the single blog</p>
  <pre><code>public function showblog( $title)
       $blog = Blog::find($title);
          return view('edific.show-blog', compact('blog', 'blogcomments', 'blogreplies'));
  }
  </code></pre>
  <p>The code to call the single blog via the read more:</p>
  <pre><code>&lt;a href=&quot;/blog/{{$blog-&gt;title}}&quot; class=&quot;post-meta&quot;&gt;Read More&lt;/a&gt;
  </code></pre>
  <p>when i click the link i get the error</p>
  <blockquote>
  <p>Trying to get property 'image' of non-object (View: C:\laragon\www\edi-fic-1.0.0\resources\views\edific\show-blog.blade.php)</p>
  </blockquote>
  <p>What I want is that instead of calling the id e.g 1 (<a href="http://127.0.0.1:8000/blog/**1**" rel="nofollow noreferrer">http://127.0.0.1:8000/blog/**1**</a>) it should open using the title of the blog.The id should not be seen</p>