title: UrlGenerationException: Missing required parameters for [Route: topics.update] [URI: topics/{topic}]
body: <p>I'm getting this error: </p>
  
  <pre><code>Missing required parameters for [Route: topics.update] [URI: topics/{topic}]. (View: C:\xampp\htdocs\phpboards\resources\views\topics\edit.blade.php)
  </code></pre>
  
  <p>This is link that will take user to edit:</p>
  
  <pre><code>&lt;a href="/boards/topics/edit/{{$topic-&gt;id}}" class="btn btn-default"&gt;Edit&lt;/a&gt;
  </code></pre>
  
  <p>This is the controller for edit:</p>
  
  <pre><code>$topic = Topic::find($id);
  return view('topics.edit')-&gt;with('topic', $topic);
  </code></pre>
  
  <p>This is the Route:</p>
  
  <pre><code>Route::get('/boards/topics/edit/{id}', 'TopicController@edit');
  </code></pre>
  
  <p>This is the form for edit:</p>
  
  <pre><code>&lt;div class="container"&gt;
      {!! Form::open(['action' =&gt; 'TopicController@update', 'method' =&gt; 'POST']) !!}
          &lt;div class="form-group"&gt;
              {{ Form::label('title', 'Title') }}
              {{ Form::text('title', $topic-&gt;topic_title, ['class' =&gt; 'form-control', 'placeholder' =&gt; 'Title of the Post']) }}
          &lt;/div&gt;
          &lt;div class="form-group"&gt;
              {{ Form::label('desc', 'Desc') }}
              {{ Form::textarea('desc', $topic-&gt;topic_body, ['class' =&gt; 'form-control', 'placeholder' =&gt; 'Description of the Post']) }}
          &lt;/div&gt;
          {{ Form::submit('Submit', ['class' =&gt; 'btn btn-default']) }}
      {!! Form::close() !!}
  &lt;/div&gt;
  </code></pre>
  
  <p>What i have done wrong here??</p>