]> git.openstreetmap.org Git - rails.git/commitdiff
Suppress deprecation warning from i18n
authorTom Hughes <tom@compton.nu>
Thu, 2 Sep 2010 19:00:43 +0000 (20:00 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 2 Sep 2010 19:00:43 +0000 (20:00 +0100)
config/initializers/i18n.rb

index 82fd62df5fdc38cab5e083d1d039e74db687d1c0..8aadeaacf8edcba856e819b196777b6bfa927522 100644 (file)
@@ -18,6 +18,8 @@ module I18n
               store_translations(locale, :time => { :formats => { :friendly => friendly } })
             end
           end
+
+          @skip_syntax_deprecation = true
         end
       end
     end