Commit bb5ba2ff8feee03b3b864a1a143782d70b4d6331
1 parent
d0d658c2
Exists in
master
and in
1 other branch
alphabetized keys in environment
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
app/views/notices/_environment.html.haml
1 | .window | 1 | .window |
2 | %table.environment | 2 | %table.environment |
3 | - - notice.env_vars.each do |key,val| | 3 | + - notice.env_vars.sort_by {|pair| pair[0]}.each do |pair| |
4 | %tr | 4 | %tr |
5 | - %th= key | ||
6 | - %td.main= val | ||
7 | \ No newline at end of file | 5 | \ No newline at end of file |
6 | + %th= pair[0] | ||
7 | + %td.main= pair[1] | ||
8 | \ No newline at end of file | 8 | \ No newline at end of file |