]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/i18n.rb
Drop secret_token as we don't use it and it confuses people
[rails.git] / 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