title: Why does Rails delete method get routed to GET instead of DELETE?
body: <p>I am getting, the following routing error, i am not sure why it is not routing to DELETE and goes to GET</p>
  
  <pre><code>No route matches [GET] "/signout"
  </code></pre>
  
  <p>html.erb:</p>
  
  <pre><code>&lt;%= link_to "Sign out", signout_path, method: "delete" %&gt;
  </code></pre>
  
  <p>routes.rb:</p>
  
  <pre><code>  match '/signout', to: 'sessions#destroy', via: :delete
  </code></pre>
  
  <p>What command am i missing?</p>