Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devise using DELETE is not quite correct. #32

Open
jarl-dk opened this issue Mar 17, 2013 · 0 comments
Open

Devise using DELETE is not quite correct. #32

jarl-dk opened this issue Mar 17, 2013 · 0 comments

Comments

@jarl-dk
Copy link

jarl-dk commented Mar 17, 2013

In section https://tutorials.railsapps.org/tutorials/rails3-bootstrap-devise-cancan#authentication there is an argument for /config/initializers/devise.rb to contain the following line

config.sign_out_via = Rails.env.test? ? :get : :delete

However commenting this line out does not trigger any (cucumber) tests to fail.

But when the line is changed to

config.sign_out_via = :delete

Then there are some cucumber tests to fail.

That is not in alignment with the explanation found in https://tutorials.railsapps.org/tutorials/rails3-bootstrap-devise-cancan#authentication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant