diff --git a/app/views/users/_groups.rhtml b/app/views/users/_groups.rhtml index 6d0c2b3..4bca77c 100644 --- a/app/views/users/_groups.rhtml +++ b/app/views/users/_groups.rhtml @@ -1,6 +1,6 @@ <% form_for(:user, :url => { :action => 'edit' }) do %>
-<% Group.all.each do |group| %> +<% Group.all.sort.each do |group| %>
<% end %> <%= hidden_field_tag 'user[group_ids][]', '' %>