devise

https://github.com/plataformatec/devise

Ruby

Flexible authentication solution for Rails with Warden.

Devise::Controllers::Helpers#after_sign_out_path_for

Method used by sessions controller to sign out a user. You can overwrite
it in your ApplicationController to provide a custom hook for a custom
scope. Notice that differently from +after_sign_in_path_for+ this method
receives a symbol with the scope, and not the resource.

By default it is the root_path.

Source | Google | Stack overflow

Edit

git clone [email protected]:plataformatec/devise.git

cd devise

open lib/devise/controllers/helpers.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Devise--Controllers--Helpers-after_sign_out_path_for-for-pr


# Commit to git

git add lib/devise/controllers/helpers.rbgit commit -m "better docs for Devise::Controllers::Helpers#after_sign_out_path_for"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Devise--Controllers--Helpers-after_sign_out_path_for-for-pr

hub pull-request


# Celebrate!