]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/i18n.rb
Use Rails.xxx instead of RAILS_XXX
[rails.git] / config / initializers / i18n.rb
index 8aadeaacf8edcba856e819b196777b6bfa927522..2561c07f21149ba5526e1db94c92e8194f9e0268 100644 (file)
@@ -37,6 +37,6 @@ end
 
 I18n::Backend::Simple.send(:include, I18n::Backend::Pluralization)
 I18n::Backend::Simple.send(:include, I18n::Backend::PluralizationFallback)
-I18n.load_path << RAILS_ROOT + "/config/pluralizers.rb"
+I18n.load_path << "#{Rails.root}/config/pluralizers.rb"
 
 I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)