lib/flapjack/gateways/web/views/entities.haml in flapjack-0.7.7 vs lib/flapjack/gateways/web/views/entities.haml in flapjack-0.7.8
- old
+ new
@@ -13,10 +13,10 @@
= nav
%h2 #{@adjective.capitalize} Entities
%p #{@count_failing_entities} failing out of #{@count_all_entities}
%table{:class => "table table-bordered table-hover table-condensed"}
- if @entities.length > 0
- - @entities.each do |entity|
+ - @entities.sort.each do |entity|
%tr
%td
- link = "/entity/#{CGI.escape(entity)}"
%a{:href => link}
#{entity}