Add a logout button in RESTFUL authentication
问题 I've installed RESTFUL authentication and everything seems to be working fine. i can signup and login. the only way i can logout is by typing in the URL http://localhost:3000/logout how do i add a logout button on a page? i tried adding one to the members.rhtml <%= link_to "logout", :controller=> "sessions", :action=> "destroy" %> which references the session_controller.rb but i get an error "No action responded to show. Actions: create, destroy, and new" any thoughts? thanx 回答1: What do you