Noob here building my first Rails 4.0 app using Devise. Set up my controller and routes using the standard Devise tactics.
Rake Routes shows:
destroy_user_session DELETE /users/sign_out(.:format) devise/sessions#destroy
In my Nav, my code is:
<%= link_to "Sign Out", destroy_user_session_path, method: :destroy, data: { confirm: 'Are you sure?' } %>
I'm running the Guard gem so my server is always on, so I know it's not a mismatch b/w my routes and the server. I still get the following error:
No route matches [POST] "/users/sign_out"
Any suggestions? Thanks all!