solidusio / solidus_auth_devise

🔑 Devise authentication for your Solidus store.
http://solidus.io
BSD 3-Clause "New" or "Revised" License
52 stars 124 forks source link

match logout route to devise configuration #103

Closed BenMorganIO closed 7 years ago

BenMorganIO commented 7 years ago

Noticed that when I did:

Devise.setup do |config|
  config.sign_out_via = :delete
end

Things wouldn't work when I logged out and the DELETE /logout route didn't exist. This PR makes the routes in Solidus Auth Devise more closely adhere to what is also configured for Devise as well.

jhawthorn commented 7 years ago

Thanks Ben