This commit is contained in:
unknown committed 2012-02-15 10:37:07 +08:00
1 parent 6b551defce
commit 778a85ca2b
7 files changed
+38 -52

No files matched your search

+4
View File
@@ -21,4 +21,8 @@ class I18nVariable
I18nVariable.first(:conditions => {:key => locale})[I18n.locale]
end
def self.from_locale(locale)
I18nVariable.first(:conditions => {:key => locale})[I18n.locale]
end
end