title: Laravel redirect after update uses PUT request
body: <p>I have Laravel app with Vue on front end, and Vue calls update method from controller using <code>PUT</code> request.</p>
  
  <p>Request works, model gets updated, but I have issue with redirecting as it is redirecting also as a <code>PUT</code> instead of simple <code>GET</code>?</p>
  
  <pre><code>public function update(MomentsValidationRequest $request, Project $project, Task $task, Moment $moment)
  {
      foreach($request-&gt;materials as $material){
          $material_id_array[$material['id']] = ['quantity' =&gt; $material['quantity']];
      }
  
      $moment-&gt;update($request-&gt;all());
  
      if(isset($material_id_array))
          $moment-&gt;materials()-&gt;sync($material_id_array);
  
      return redirect()-&gt;back()-&gt;with(['alert-type' =&gt; 'success', 'message' =&gt; 'Moment updated!']);
  }
  </code></pre>
  
  <p>So naturally, I am getting a method not allowed exception because it is redirecting to a route which is supposed to get a previous view only. </p>
  
  <p>Route itself is fine, request method isn't.</p>
  
  <p>For non-believers :) </p>
  
  <p><a href="https://i.stack.imgur.com/sWi06.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sWi06.jpg" alt="enter image description here"></a></p>
  
  <p>Also a route:</p>
  
  <p><a href="https://i.stack.imgur.com/PWMTm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PWMTm.jpg" alt="enter image description here"></a></p>