Flowdock
method

set_locale

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: MailersController
set_locale() 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 96
    def set_locale
      I18n.with_locale(params[:locale] || I18n.default_locale) do
        yield
      end
    end
Register or log in to add new notes.