Skip to content

Commit

Permalink
Order Editors by last name
Browse files Browse the repository at this point in the history
  • Loading branch information
arfon committed Oct 6, 2018
1 parent a9425ae commit 7422125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/home/about.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

<h2 style="padding-top: 10px;">Topic Editors</h2>

<%- Editor.topic.each do |editor| %>
<%- Editor.topic.order('last_name ASC').each do |editor| %>
<%= render partial: "shared/editor", locals: { editor: editor } %>
<%- end %>

Expand Down

0 comments on commit 7422125

Please sign in to comment.