Class: RemoteI18nExtension::Backend::Initializer

Inherits:
Object
  • Object
show all
Defined in:
lib/remote_i18n_extension/backend/initializer.rb

Class Method Summary collapse

Class Method Details

.callObject



7
8
9
10
11
12
# File 'lib/remote_i18n_extension/backend/initializer.rb', line 7

def self.call
  I18n.backend = I18n::Backend::Chain.new(
    RemoteI18nExtension::Backend::Remote.new,
    I18n::Backend::Simple.new
  )
end