method

set_locale

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: MailersController
set_locale(&block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/mailers_controller.rb, line 106
    def set_locale(&block)
      I18n.with_locale(params[:locale] || I18n.default_locale, &block)
    end
Register or log in to add new notes.