Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The default here is now DELETE.

  • Loading branch information...
commit 15b76e93d13d2d71a7cdc5a94f8da8f028da7337 1 parent bc2a311
@josevalim josevalim authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/devise/sessions_controller.rb
View
2  app/controllers/devise/sessions_controller.rb
@@ -18,7 +18,7 @@ def create
respond_with resource, :location => redirect_location(resource_name, resource)
end
- # GET /resource/sign_out
+ # DELETE /resource/sign_out
def destroy
signed_in = signed_in?(resource_name)
Devise.sign_out_all_scopes ? sign_out : sign_out(resource_name)
Please sign in to comment.
Something went wrong with that request. Please try again.