projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7d1fc7f
)
Removed available_locales monkey patch as rails 2.3 has it already.
author
Tom Hughes
<tom@compton.nu>
Thu, 4 Jun 2009 08:56:40 +0000
(08:56 +0000)
committer
Tom Hughes
<tom@compton.nu>
Thu, 4 Jun 2009 08:56:40 +0000
(08:56 +0000)
config/initializers/available_locales.rb
[deleted file]
patch
|
blob
|
history
diff --git
a/config/initializers/available_locales.rb
b/config/initializers/available_locales.rb
deleted file mode 100644
(file)
index
026be26
..0000000
--- 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
-