summaryrefslogtreecommitdiffstats
path: root/views/index.erb
diff options
context:
space:
mode:
Diffstat (limited to 'views/index.erb')
-rw-r--r--views/index.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/index.erb b/views/index.erb
index f031838..65b8653 100644
--- a/views/index.erb
+++ b/views/index.erb
@@ -84,7 +84,7 @@
<h3>Låter</h3>
<% @band.songs.each_index do |i| %>
- <%= erb :song, layout: false, locals: { song_number: i, song: @band.songs[i] } %>
+ <%= erb :song, layout: false, locals: { song_number: i + 1, song: @band.songs[i] } %>
<% end %>
</div>