Method: ActionView::Rendering#process
- Defined in:
- lib/action_view/rendering.rb
#process ⇒ Object
Overwrite process to setup I18n proxy.
28 29 30 31 32 33 |
# File 'lib/action_view/rendering.rb', line 28 def process(*) #:nodoc: old_config, I18n.config = I18n.config, I18nProxy.new(I18n.config, lookup_context) super ensure I18n.config = old_config end |