devise
https://github.com/plataformatec/devise
Ruby
Flexible authentication solution for Rails with Warden.
DeviseController#translation_scope
Controllers inheriting DeviseController are advised to override this method so that other controllers inheriting from them would use existing translations.
Edit
git clone [email protected]:plataformatec/devise.git
cd devise
open app/controllers/devise_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-DeviseController-translation_scope-for-pr
# Commit to gitgit add app/controllers/devise_controller.rbgit commit -m "better docs for DeviseController#translation_scope"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-DeviseController-translation_scope-for-pr
hub pull-request
# Celebrate!