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.
Edit
git clone [email protected]:plataformatec/devise.git
cd devise
open lib/devise/controllers/helpers.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Devise--Controllers--Helpers-after_sign_out_path_for-for-pr
# Commit to gitgit add lib/devise/controllers/helpers.rbgit commit -m "better docs for Devise::Controllers::Helpers#after_sign_out_path_for"
# Open pull requestgem 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!