KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Here is my actual error: No route matches [GET] "/members/sign_out" Since most people will use "users" I thought it would be more helpful to have that in the title. At any rate, I am essential unable to logout. I can successfully edit my member profile. I am using devise 1.4.2 and Rails 3.1.0.rc4. Also, I have generated two separate devise models - one called "members" and the other called "admins". I was able to register and log into both of them (simultaneously) by manually navigating to the correct URL path (i.e., localhost:3000/admins/sign_in/). I created some links within my application.html.haml layout file by following this RailsCast on Devise . I am aware that it only addresses signin/signout links for "members." If I click on the signout link I get the above error. This occurs if I manually navigate to either signout URL (i.e., localhost:3000/admins/sign_out/). Can someone tell me why this is happening? Below are the various related files. And of course, I'm a newbie... rake routes output: j(film_repo)$ rake routes new_member_session GET /members/sign_in(.:format) {:action=>"new", :controller=>"devise/sessions"} member_session POST /members/sign_in(.:format) {:action=>"create", :controller=>"devise/sessions"} destroy_member_session DELETE /members/sign_out(.:format) {:action=>"destroy", :controller=>"devise/sessions"} member_password POST /members/password(.:format) {:action=>"create", :controller=>"devise/passwords"} new_member_password GET /members/password/new(.:format) {:action=>"new", :controller=>"devise/passwords"} edit_member_password GET /members/password/edit(.:format) {:action=>"edit", :controller=>"devise/passwords"} PUT /members/password(.:format)
Tags (comma-separated)
Save Edits
Cancel