title: "Not found" error with resource routing in Laravel
body: <p>I have the following route:</p>
  
  <pre><code>Route::resource('pools', 'PoolsController');
  </code></pre>
  
  <p>In the <code>PoolsController</code>, the <code>index</code> method works fine. If I open www.domain.com/pools it will run the content of <code>index()</code>.</p>
  
  <p>However, I'm running into an issue with the <code>show()</code> method, specifically when trying to pass a parameter to it. I want to open www.domain.com/pools/show/12 where 12 is an ID from the database, but when I do this I get a <code>NotFoundHttpException</code>. When I open www.domain.com/pools/show (without the parameter) it runs the method correctly - but this is obviously useless without the ID of the resource to be shown.</p>
  
  <p>So I'm wondering why this isn't working. From what I've found online, this should be the way to pass a parameter to a controller method.</p>
  
  <p>Can anyone enlighten me?</p>