Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed HTTP method for route destroy_user_session from GET to DELETE…

…. Cleaned up indentations to keep tidy.
  • Loading branch information...
commit 691172d01fa80527f9cc91adb636d51285707b86 1 parent eb51d03
Kevin Musiorski authored
Showing with 10 additions and 10 deletions.
  1. +10 −10 lib/devise/rails/routes.rb
View
20 lib/devise/rails/routes.rb
@@ -43,20 +43,20 @@ class Mapper
# needed routes:
#
# # Session routes for Authenticatable (default)
- # new_user_session GET /users/sign_in {:controller=>"devise/sessions", :action=>"new"}
- # user_session POST /users/sign_in {:controller=>"devise/sessions", :action=>"create"}
- # destroy_user_session GET /users/sign_out {:controller=>"devise/sessions", :action=>"destroy"}
+ # new_user_session GET /users/sign_in {:controller=>"devise/sessions", :action=>"new"}
+ # user_session POST /users/sign_in {:controller=>"devise/sessions", :action=>"create"}
+ # destroy_user_session DELETE /users/sign_out {:controller=>"devise/sessions", :action=>"destroy"}
#
# # Password routes for Recoverable, if User model has :recoverable configured
- # new_user_password GET /users/password/new(.:format) {:controller=>"devise/passwords", :action=>"new"}
- # edit_user_password GET /users/password/edit(.:format) {:controller=>"devise/passwords", :action=>"edit"}
- # user_password PUT /users/password(.:format) {:controller=>"devise/passwords", :action=>"update"}
- # POST /users/password(.:format) {:controller=>"devise/passwords", :action=>"create"}
+ # new_user_password GET /users/password/new(.:format) {:controller=>"devise/passwords", :action=>"new"}
+ # edit_user_password GET /users/password/edit(.:format) {:controller=>"devise/passwords", :action=>"edit"}
+ # user_password PUT /users/password(.:format) {:controller=>"devise/passwords", :action=>"update"}
+ # POST /users/password(.:format) {:controller=>"devise/passwords", :action=>"create"}
#
# # Confirmation routes for Confirmable, if User model has :confirmable configured
- # new_user_confirmation GET /users/confirmation/new(.:format) {:controller=>"devise/confirmations", :action=>"new"}
- # user_confirmation GET /users/confirmation(.:format) {:controller=>"devise/confirmations", :action=>"show"}
- # POST /users/confirmation(.:format) {:controller=>"devise/confirmations", :action=>"create"}
+ # new_user_confirmation GET /users/confirmation/new(.:format) {:controller=>"devise/confirmations", :action=>"new"}
+ # user_confirmation GET /users/confirmation(.:format) {:controller=>"devise/confirmations", :action=>"show"}
+ # POST /users/confirmation(.:format) {:controller=>"devise/confirmations", :action=>"create"}
#
# ==== Options
#
Please sign in to comment.
Something went wrong with that request. Please try again.