From 55983d657c857077ff0144e4c18d84194597b67e Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 30 Oct 2015 14:32:07 +0100 Subject: Simplify form: Don't mess with adding songs, display them all at once. --- registration.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'registration.rb') diff --git a/registration.rb b/registration.rb index 3aea657..009406a 100644 --- a/registration.rb +++ b/registration.rb @@ -11,6 +11,7 @@ class RegistrationApp < Sinatra::Base get '/' do @band = Band.new + 3.times { @band.songs << Song.new } erb :index end -- cgit v1.2.3