Closed kennyadsl closed 5 years ago
I'm not sure about backward compatibility here and I'm not super sure what to do, leaving WIP for now, please do not merge yet.
We discussed this in the core team meeting and we are fine merging this as is and releasing a new version.
A while ago Devise changed the default HTTP verb used to sign out from
GET
toDELETE
.This PR re-aligns this preference default with what is shipped with Devise. It also improves the code to be more dynamic since we were not really supporting changing that preference.
π¨Can be breaking π¨
Stores that rely on signing out with
GET
verb will need to change theDevise.sign_out_via
configuration atconfig/initializers/devise.rb
: