title: Laravel 5 MethodNotAllowedHttpException
body: <p>I am using a form with <code>PATCH</code> method and I have a button link(since i already have a submit button and using same form for both store and update) as</p>
  
  <pre><code>&lt;a class="btn btn-default" href="{{ URL::to( 'pages/edit/' . $vehicle -&gt; id) }}"&gt;EDIT&lt;/a&gt;
  </code></pre>
  
  <p>And my route is </p>
  
  <pre><code>Route::patch('/pages/edit/{id}', ['uses' =&gt; 'VehicleProcessController@update']);
  </code></pre>
  
  <p>Controller</p>
  
  <pre><code>public function update($id)
  {
       $vehicle = Vehicle::find($id);  
  
       $input = Input::all();
  
       $vehicle-&gt;update($input);
  
       return  $input;
  }
  </code></pre>
  
  <p>When i click to link <code>$input</code> returns null and i am getting </p>
  
  <blockquote>
    <p>MethodNotAllowedHttpException</p>
  </blockquote>
  
  <p>I am trying to get familiar with L5, how can i fix this ? Any help would be appreciated.</p>