diff options
| -rw-r--r-- | src/index.html.erb | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.html.erb b/src/index.html.erb index 2008d11..5447ce6 100644 --- a/src/index.html.erb +++ b/src/index.html.erb @@ -1,9 +1,9 @@  Ĺšpiewnik polskiej muzyki tradycyjnej.  <ul> -<%- songs.each_value do |song| -%> +<%- songs.keys.sort.each do |song_id| -%>    <li> -    <a href='<%= path_to (song_html song.id) %>'><%= song.title %></a> +    <a href='<%= path_to (song_html song_id) %>'><%= songs[song_id].title %></a>    </li>  <%- end -%>  </ul>  |