title: Why does this link_to use GET rather than DELETE like I specified?
body: <p>I am using <code>devise</code>, and this is my link:</p>
  
  <pre><code>&lt;%= link_to "Logout", logout_path, method: :delete, class: "dropdown-item" %&gt;
  </code></pre>
  
  <p>This is the output of the logs when I click the link:</p>
  
  <pre><code>Started GET "/logout" for ::1 at 2020-04-16 21:24:58 -0500
  ActionController::RoutingError (No route matches [GET] "/logout"):
  </code></pre>
  
  <p>This is the HTML it generates:</p>
  
  <pre><code>&lt;a class="dropdown-item" rel="nofollow" data-method="delete" href="/logout"&gt;Logout&lt;/a&gt;
  </code></pre>
  
  <p>This is the relevant section of my <code>routes.rb</code>:</p>
  
  <pre><code>  devise_scope :user do
      delete "logout", to: "devise/sessions#destroy"
    end
  </code></pre>