title: laravel 5.3 MethodNotAllowedHttpException in RouteCollection.php line 218:
body: <p>(SOLVED) Thanks..</p>
  
  <p>I just want to make a new view called "tambah.blade.php" and the controller is "JurnalController.php" with method "tambahJurnal", but it show an error. What's wrong with my route?</p>
  
  <p>Here is my form:</p>
  
  <pre><code>&lt;h1&gt;Tambah Jurnal&lt;/h1&gt;
  
   &lt;form method="post" class="tambahJurnal" action="{{ route('tambah') }}" &gt;
     {{ csrf_field() }}
     &lt;div class=""&gt;
       No jurnal
       &lt;input type="text" name="no_jurnal" value=""&gt;
     &lt;/div&gt;
  
     &lt;div class=""&gt;
       Tgl Jurnal
       &lt;input type="date" name="tgl_jurnal" value=""&gt;
     &lt;/div&gt;
  
     &lt;div class=""&gt;
       Keterangan
       &lt;input type="textarea" name="keterangan" value=""&gt;
     &lt;/div&gt;
  
     &lt;input type="submit" name="" value="Submit"&gt;
   &lt;/form&gt;
  </code></pre>
  
  <p>And here is my method in JurnalController:</p>
  
  <pre><code>public function tambahJurnal(Request $request){
  
    $jurnal = new Jurnals;
    $jurnal-&gt;no_jurnal = $request-&gt;no_jurnal;
    $jurnal-&gt;tgl_jurnal = $request-&gt;tgl_jurnal;
    $jurnal-&gt;keterangan = $request-&gt;keterangan;
  
    $jurnal-&gt;save();
  }
  </code></pre>
  
  <p>This is my route: </p>
  
  <pre><code>Route::post('/tambah', 'JurnalController@tambahJurnal');
  </code></pre>
  
  <p>And it show an error like this:
  <a href="https://3.bp.blogspot.com/-CblaBMVGbyI/WNXg9Rm7oMI/AAAAAAAACCs/WkQV1KlvvnQMetYUWwZrm9t8Pk4KYT_twCLcB/s640/Capture.PNG" rel="nofollow noreferrer">enter image description here</a></p>