7 8 9 10 11 12 13
# File 'lib/rich/i18n/actionpack/action_controller/base.rb', line 7 def prepare_rich_i18n String.clear_translations ::Rich::I18n::Engine.current_controller = self yield ensure ::Rich::I18n::Engine.current_controller = nil end