Skip to content

Commit fa63200

Browse files
committed
Merge pull request #1 from Bonias/fix-deprecated-code
relation.all is deprecated in rails 4
2 parents 647182d + 56d8f24 commit fa63200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lit/i18n_backend.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def translate(locale, key, options = {})
1818
end
1919

2020
def available_locales
21-
Lit::Locale.ordered.visible.all.map{|l| l.locale.to_sym }
21+
Lit::Locale.ordered.visible.map{|l| l.locale.to_sym }
2222
end
2323

2424
# Stores the given translations.

0 commit comments

Comments
 (0)