From 11cc7ebaa76c0bcdc0164526430888a50ca04550 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 18 Dec 2011 15:49:21 +0000 Subject: [PATCH] Use I18n::Backend::Simple.include directly --- config/initializers/i18n.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/initializers/i18n.rb b/config/initializers/i18n.rb index 7b5db5aab..87bfe611f 100644 --- a/config/initializers/i18n.rb +++ b/config/initializers/i18n.rb @@ -35,11 +35,11 @@ module I18n end end -I18n::Backend::Simple.send(:include, I18n::Backend::Pluralization) -I18n::Backend::Simple.send(:include, I18n::Backend::PluralizationFallback) +I18n::Backend::Simple.include(I18n::Backend::Pluralization) +I18n::Backend::Simple.include(I18n::Backend::PluralizationFallback) I18n.load_path << "#{Rails.root}/config/pluralizers.rb" -I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks) +I18n::Backend::Simple.include(I18n::Backend::Fallbacks) Rails.configuration.after_initialize do I18n.reload! -- 2.39.5