title: Rails + devise: Trying to delete user account
body: <p>When I try and delete my account in my rails app I get</p>
  
  <p>No route matches "/users"</p>
  
  <p>My View:</p>
  
  <pre><code>&lt;p&gt;We hate to see you go. &lt;%= link_to "Cancel my account", registration_path(resource_name), :confirm =&gt; "Are you sure?", :method =&gt; :delete %&gt;.&lt;/p&gt;
  </code></pre>
  
  <p>My routes:</p>
  
  <pre><code>user_registration POST   /users(.:format)                         {:action=&gt;"create", :controller=&gt;"devise/registrations"}
  new_user_registration GET    /users/sign_up(.:format)                 {:action=&gt;"new", :controller=&gt;"devise/registrations"}
  edit_user_registration GET    /users/edit(.:format)                    {:action=&gt;"edit", :controller=&gt;"devise/registrations"}
                     PUT    /users(.:format)                         {:action=&gt;"update", :controller=&gt;"devise/registrations"}
                     DELETE /users(.:format)                         {:action=&gt;"destroy", :controller=&gt;"devise/registrations"}
  </code></pre>
  
  <p>Am I missing something?</p>