]> git.openstreetmap.org Git - rails.git/commitdiff
Remove monkey patch for I18n which is no longer needed
authorTom Hughes <tom@compton.nu>
Sun, 30 Sep 2012 13:07:41 +0000 (14:07 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 30 Sep 2012 13:07:41 +0000 (14:07 +0100)
config/initializers/i18n.rb

index de44126b05942afd07f6bd44fe92c54c95ed2c81..48d1ec976f334f7cc6841e99c7ea9f8521a03f38 100644 (file)
@@ -1,12 +1,5 @@
 module I18n
   module Backend
-    module Fallbacks
-      def find_first_string_or_lambda_default(defaults)
-        defaults.each_with_index { |default, ix| return ix if default && !default.is_a?(Symbol) }
-        nil
-      end
-    end
-
     module PluralizationFallback
       def pluralize(locale, entry, count)
         super