]> git.openstreetmap.org Git - rails.git/commitdiff
Removed available_locales monkey patch as rails 2.3 has it already.
authorTom Hughes <tom@compton.nu>
Thu, 4 Jun 2009 08:56:40 +0000 (08:56 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 4 Jun 2009 08:56:40 +0000 (08:56 +0000)
config/initializers/available_locales.rb [deleted file]

diff --git a/config/initializers/available_locales.rb b/config/initializers/available_locales.rb
deleted file mode 100644 (file)
index 026be26..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-# Get loaded locales conveniently
-# See http://rails-i18n.org/wiki/pages/i18n-available_locales
-module I18n
-  class << self
-    def available_locales
-      backend.available_locales
-    end
-  end
-  module Backend
-    class Simple
-      def available_locales
-        init_translations unless initialized?
-        translations.keys
-      end
-    end
-  end
-end
-