title: MethodNotAllowedHttpException in RouteCollection.php line 218 laravel 5.2 on update data
body: <p>Please help me, im newbie in laravel and get an error 
  when I will update data field from button, like this</p>
  
  <blockquote>
    <p>MethodNotAllowedHttpException in RouteCollection.php line 218:</p>
  </blockquote>
  
  <p>and im using <strong>Routes</strong>:</p>
  
  <pre><code>Route::post('/verify', 'DataPelamarController@verify');
  </code></pre>
  
  <p>and I write my <strong>Controller</strong> like bellow:</p>
  
  <pre><code>public function verify(Request $request, $id){
      DB::table('databeasiswas')-&gt;update([
          'status_pendaftaran'=&gt;'1']);
      return redirect(url('pendaftar'));
  }
  </code></pre>
  
  <p>and this is my <strong>view</strong></p>
  
  <pre><code>&lt;a href ="{{ url('verify') }}" name="_method" type="hidden" value="PATCH" &gt;
    &lt;button type="submit" class="btn btn-vk btn-sm"&gt;&lt;i class="fa fa-check"&gt;&lt;/i&gt; Verify Data&lt;/button&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>thanks before..</p>