Skip to content

Commit f28aa60

Browse files
committed
Merge pull request unmantained-activeadmin-plugins#4 from mzampetti/patch-1
Avoid sorting available locales
2 parents 6d5b6ab + d36f509 commit f28aa60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_admin/globalize3/form_builder_extension.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module FormBuilderExtension
66
def translated_inputs(name = "Translations", &block)
77
form_buffers.last << template.content_tag(:div, class: "activeadmin-translations") do
88
template.content_tag(:ul, class: "available-locales") do
9-
I18n.available_locales.sort.map do |locale|
9+
I18n.available_locales.map do |locale|
1010
template.content_tag(:li) do
1111
template.content_tag(:a, I18n.t(:"active_admin.globalize3.language.#{locale}"), href:".locale-#{locale}")
1212
end

0 commit comments

Comments
 (0)