title: Missing required parameters for in a Update Form Laravel 5.2
body: <p>I've been working on a webapp recently in laravel and i wanted to have a eddit function within tthe application. but im getting this error Missing required parameters for [Route: producten.update] [URI: producten/{producten}], and i dont know what i've done wrong.</p>
  
  <p>This is the Routes im using:</p>
  
  <pre><code>Route::resource('producten', 'ProductenController', ['only' =&gt; ['index', 'store', 'update', 'delete', 'edit', 'destroy', 'create']]);
  </code></pre>
  
  <p>This is the controller function im using for showing the edit page and updating.</p>
  
  <p>The Edit function </p>
  
  <pre><code>public function edit(Request $request, Product $product)
  {
     // $product = Product::FindorFail($id);
      // Product is a table with all products, with sellprice and buy price
      // fabriek = table that has a foreign key attached to the product table
      return view('producten.edit', [
          'model' =&gt; $product,
          'fabrieks' =&gt; Fabriek::lists('Id')
          ]);
  
  }
  </code></pre>
  
  <p>The Update Function:</p>
  
  <pre><code>public function update(Request $request, Product $product)
      {
  
          $product-&gt;update($request-&gt;all());
  
          return redirect(Route('producten.index'));
  
      }
  </code></pre>
  
  <p>and this is the view i use for it.</p>
  
  <pre><code>    {{Form::model($model, ['method' =&gt; 'PATCH', 'action' =&gt; 'ProductenController@update', $model ]) }}
  
      {{ Form::label('naam:')}}
      {{ Form::text('naam') }} &lt;br&gt;
  
      {{ Form::label('inkoopPrijs:')}}
      {{ Form::text('inkoopPrijs') }} &lt;br&gt;
  
      {{ Form::label('verkoopPrijs:') }}
      {{ Form::text('verkoopPrijs') }} &lt;br&gt;
  
      {{Form::label('Fabrieken', 'Fabrieken Id:') }}
      {{ Form::select('Fabrieken_Id', $fabrieks)}} &lt;br&gt;
      {{ Form::submit('edit')}}
      {{ Form::close() }}
  </code></pre>
  
  <p>if there is anything else that i need to add to the question just let me know and i'll add it </p>