From 0bb18dd2be770d4a1cf0f897bdc1ced38212096b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 4 Jun 2009 08:56:40 +0000 Subject: [PATCH] Removed available_locales monkey patch as rails 2.3 has it already. --- config/initializers/available_locales.rb | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 config/initializers/available_locales.rb diff --git a/config/initializers/available_locales.rb b/config/initializers/available_locales.rb deleted file mode 100644 index 026be263a..000000000 --- a/config/initializers/available_locales.rb +++ /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 - -- 2.39.5