title: MethodNotAllowedHttpException laravel 5.5
body: <p>I'm new in laravel. 
  I'm getting this Error when i click update.</p>
  
  <pre><code>&lt;form  method="post" action="{{ route('companies.update',[$company-&gt;id]) }}"&gt;
  {{ csrf_field() }}
  &lt;input type="hidden" name="method" value="put"&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/uxMxh.png" rel="nofollow noreferrer">enter image description here</a></p>