Sortierungen für index.hmtl angepasst

This commit is contained in:
Thomas Blazek
2013-07-25 13:44:31 +02:00
parent 4994f011dc
commit 9195ac20e2
3 changed files with 4 additions and 4 deletions

View File

@@ -10,10 +10,10 @@
<th></th>
</tr>
<% @moduls.each do |modul| %>
<% @moduls.sort_by{|n| n[:name]}.each do |modul| %>
<tr>
<td>
<%modul.modulgruppen.each do |m|%>
<%modul.modulgruppen.sort_by{|n| n[:name]}.each do |m|%>
<%=m.name unless m.nil? %> (<%=m.studium.name unless m.studium.nil? %>)