Skip to content

Commit 65e9de1

Browse files
author
Lukas Hodel
committed
Removes sorting languages
1 parent 15c6887 commit 65e9de1

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
@@ -16,7 +16,7 @@ def translated_inputs(name = "Translations", options = {}, &block)
1616
end
1717
end.join.html_safe
1818
end <<
19-
I18n.available_locales.sort.map do |locale|
19+
I18n.available_locales.map do |locale|
2020
translation = object.translations.find { |t| t.locale.to_s == locale.to_s }
2121
translation ||= object.translations.build(locale: locale)
2222
fields = proc do |form|

0 commit comments

Comments
 (0)