Method: DeviseController#translation_scope
- Defined in:
- app/controllers/devise_controller.rb
#translation_scope ⇒ Object (protected)
Controllers inheriting DeviseController are advised to override this method so that other controllers inheriting from them would use existing translations.
207 208 209 |
# File 'app/controllers/devise_controller.rb', line 207 def translation_scope "devise.#{controller_name}" end |