title: Resource Controller methods with model as parameter not working
body: <p>As in the basic Laracasts.com tutorial (Laracast 5.7 from scratch) I'm trying to use the following methods <code>public function show(prototypes $prototypes)</code> parameter to construct a view. However my view is created correctly but <code>$prototypes</code> is null.</p>
  
  <p>The route works well(<code>/prototypes/1/edit</code>) and I ensured that a <code>prototype</code> object with the id 1 exists.
  I found some older solution which stated to use something like <code>(integer $id)</code> as parameter but this leads to some more code. It should work like this:</p>
  
  <p>Controller:</p>
  
  <pre class="lang-php prettyprint-override"><code>public function edit(prototypes $prototypes)
  {
      //
      return view('prototypes.edit', compact('prototypes'));
  }
  </code></pre>
  
  <p>According to <em>Laracast From Scratch</em> this should work.</p>
  
  <p>Do you know how I could fix this? </p>
  
  <p>What mechanism is behind this that the <code>prototypes.edit</code> method knows how to use the correct parameter?</p>