title: The GET method is not supported for this route. Supported methods: PUT. on laravel
body: <p>I try to create a function to uptade a password.</p>
  <p>in my controller:</p>
  <pre class="lang-php prettyprint-override"><code>public function updatePassword($id) 
  {
      $user = User::find($id);
  
      dd($user);
  }
  </code></pre>
  <p>my button to open my page for update password</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;div class=&quot;float-end&quot;&gt;
      &lt;form method=&quot;POST&quot; action=&quot;myRoute.updatePassword&quot;&gt;
          @csrf
          @method('PUT')
                      
          &lt;button type=&quot;submit&quot; class=&quot;btn btn-primary&quot;&gt;
              Modifier le mot de passe
          &lt;/button&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  <p>and my route :</p>
  <pre class="lang-php prettyprint-override"><code>Route::put('admin/update_password/{id}','MyController@updatePassword')-&gt;name('myRoute.updatePassword');
  </code></pre>
  <p>And when i click on the button, i have this error :</p>
  <pre><code>The GET method is not supported for this route. Supported methods: PUT.
  </code></pre>
  <p>Thanks for you'r help !</p>