Permalink
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/generators/templates/devise.rb
@@ -184,8 +184,8 @@
# Explorer requests.
# config.navigational_formats = [:"*/*", "*/*", :html]
- # The default HTTP method used to sign out a resource. Default is :get.
- # config.sign_out_via = :get
+ # The default HTTP method used to sign out a resource. Default is :delete.
+ config.sign_out_via = :delete
# ==> OmniAuth
# Add a new OmniAuth provider. Check the wiki for more information on setting

1 comment on commit adb127b

I am total beginner here and having a problem opening the sign_out page from url. I was looking at the code for sessions_controller.rb and still refers to GET. Do I also need to change that file to make it work by any chance?

Please sign in to comment.