title: Rails: Devise: How can I edit user information?
body: <p>I have a Rails app set up using Devise, with a Registration controller. </p>
  
  <p>What's working so far:</p>
  
  <p>New user registration
  Login
  Logout
  Home
  About
  Confirmation
  Password reset</p>
  
  <p>Not working is edit, as in I can't figure out the URL/REST call I should be making to get edit to show up.
  I do have a views/registrations/edit.html.erb page.</p>
  
  <p>Following is the portion of my routes that's specific to Registration:</p>
  
  <pre><code>cancel_user_registration GET    /cancel(.:format)              registrations#cancel
         user_registration POST   /                              registrations#create
     new_user_registration GET    /request_invite(.:format)      registrations#new
    edit_user_registration GET    /edit(.:format)                registrations#edit
  </code></pre>
  
  <p>Following is the portion of my routes.rb that's specific to devise:</p>
  
  <pre><code>devise_for :users, :controllers =&gt; { :registrations =&gt; 'registrations', :confirmations =&gt; 'confirmations' }, :path =&gt; '', :path_names =&gt; { :sign_in =&gt; "login", :sign_up =&gt; "request_invite" }
  </code></pre>
  
  <p>I tried the following:</p>
  
  <pre><code>http://localhost:3000/edit  
  http://localhost:3000/edit/:id
  http://localhost:3000/registrations/:id/edit
  http://localhost:3000/user/:id/edit
  </code></pre>
  
  <p>I get: No route matches [GET] ...</p>
  
  <p>There are a couple of useful Q&amp;A sessions on StackOverfloww, but I could not figure out how to make the advice here work for me. Any ideas?</p>