views/index.erb in gdash-0.0.2 vs views/index.erb in gdash-0.0.3
- old
+ new
@@ -5,10 +5,10 @@
<thead>
<th width="30%">Name</th>
<th width="70%">Description</th>
</thead>
<tbody>
- <% @top_level[key].dashboards.sort_by{|b| b[:name]}.each do |board| %>
+ <% @top_level[key].dashboards.sort_by{|b| b[:name].to_s}.each do |board| %>
<tr>
<td><a href="<%= [@prefix, key, board[:link]].join('/') %>/"><%= board[:name] %></a></td><td><%= board[:description] %></td>
</tr>
<% end %>
</tbody>