title: Laravel 5.1.26 : MethodNotAllowedHttpException in RouteCollection.php line 219
body: <p>I will get <code>MethodNotAllowedHttpException</code> when submitting a form in laravel </p>
  
  <p>HTML file</p>
  
  <pre><code>&lt;form action="{{ action('HomeController@store') }}" method="post"&gt;
  &lt;input name="_method" type="hidden" value="PATCH"&gt;
  &lt;input name="_token" type="hidden" value="{{ csrf_token() }}"/&gt;
  &lt;input type="submit" name="Submit" value="submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Im my routes.php </p>
  
  <p><code>Route::post('formaction','HomeController@store')</code></p>
  
  <p>Controller.php</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  
  use App\Http\Requests;
  use App\Http\Controllers\Controller;
  
  class HomeController extends Controller
  {
     public function store(){
        echo 'form submitted';
      }
  }
  </code></pre>
  
  <p>Why i will get MethodNotAllowedHttpException in my form action page?
  I've refereed some questions related to this,but nothing help me</p>