diff options
author | Joe Marty <jmarty@iexposure.com> | 2017-11-07 01:12:40 +0300 |
---|---|---|
committer | Joe Marty <jmarty@iexposure.com> | 2017-11-07 01:19:15 +0300 |
commit | dfeb60daa607dd96be689cfd3b2f929138efacdf (patch) | |
tree | 7f767b472e9e6e5eb6f1b8e09d09728eba71838d /config/initializers/devise.rb | |
parent | 21d8ec1537c0a6d756ea86d001f30f2d62a52247 (diff) |
Change Sign Out route from a DELETE to a GET
Closes #39708
Diffstat (limited to 'config/initializers/devise.rb')
-rw-r--r-- | config/initializers/devise.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index c6ec0aeda7b..958859be6cf 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -195,7 +195,7 @@ Devise.setup do |config| config.navigational_formats = [:"*/*", "*/*", :html, :zip] # The default HTTP method used to sign out a resource. Default is :delete. - config.sign_out_via = :delete + config.sign_out_via = :get # ==> OmniAuth # To configure a new OmniAuth provider copy and edit omniauth.rb.sample |