From de0fec30785a2ddf22f90af805ba4790d77562fa Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Tue, 6 Oct 2015 21:10:56 +0200 Subject: Create empty band on GET index --- registration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'registration.rb') diff --git a/registration.rb b/registration.rb index b8f2e83..a62bc2b 100644 --- a/registration.rb +++ b/registration.rb @@ -10,7 +10,7 @@ class RegistrationApp < Sinatra::Base enable :sessions get '/' do - @errors = session['errors'] + @band = Band.new erb :index end -- cgit v1.2.3