Skip to content

Commit

Permalink
Merge pull request #5099 from efojs/patch-1
Browse files Browse the repository at this point in the history
Update Options section of comment in routes.rb
  • Loading branch information
rafaelfranca authored Jul 16, 2019
2 parents 19045a4 + 45cc668 commit 9aa17ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/devise/rails/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ class Mapper
# * failure_app: a rack app which is invoked whenever there is a failure. Strings representing a given
# are also allowed as parameter.
#
# * sign_out_via: the HTTP method(s) accepted for the :sign_out action (default: :get),
# * sign_out_via: the HTTP method(s) accepted for the :sign_out action (default: :delete),
# if you wish to restrict this to accept only :post or :delete requests you should do:
#
# devise_for :users, sign_out_via: [:post, :delete]
# devise_for :users, sign_out_via: [:get, :post]
#
# You need to make sure that your sign_out controls trigger a request with a matching HTTP method.
#
Expand Down

0 comments on commit 9aa17ee

Please sign in to comment.