Fix spec for sr-Latn (#7203)

th-downstream
Yamagishi Kazutoshi 7 years ago committed by Eugen Rochko
parent 937c93e8d9
commit 0939d9ede6

@ -29,10 +29,14 @@ module Localized
end end
def preferred_locale def preferred_locale
http_accept_language.preferred_language_from(I18n.available_locales) http_accept_language.preferred_language_from(available_locales)
end end
def compatible_locale def compatible_locale
http_accept_language.compatible_language_from(I18n.available_locales) http_accept_language.compatible_language_from(available_locales)
end
def available_locales
I18n.available_locales.reverse
end end
end end

Loading…
Cancel
Save