diff options
-rw-r--r-- | views/submitted.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/submitted.erb b/views/submitted.erb index d085b82..641f900 100644 --- a/views/submitted.erb +++ b/views/submitted.erb @@ -22,7 +22,7 @@ <p>Låter:</p> <ul> - <% @band.songs.each do |s| %> + <% @band.songs.reject {|s| s.title.empty? }.each do |s| %> <li> <%= s.title %><br> Spilletid: <%= s.time %><br> |