I know there are dozens of questions on different sites about this issue. I have tried a lot of things, and I still can\'t get the link with DELETE method to work.
I\'ve
This helper always works for me:
link_to "Logout", destroy_user_session_path, :method => :delete
Maybe you are not logged in properly? You could check with if current_user
if current_user