summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-10-06 21:10:56 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-10-06 21:10:56 +0200
commitde0fec30785a2ddf22f90af805ba4790d77562fa (patch)
tree8f1b8ad57760a189634552a1fd57b962a22a5898
parent5b742c1b095da2287358af0209e246fdf7452ac7 (diff)
downloadnorsk-urskog-registrations-de0fec30785a2ddf22f90af805ba4790d77562fa.tar.gz
norsk-urskog-registrations-de0fec30785a2ddf22f90af805ba4790d77562fa.tar.bz2
norsk-urskog-registrations-de0fec30785a2ddf22f90af805ba4790d77562fa.zip
Create empty band on GET index
-rw-r--r--registration.rb2
1 files changed, 1 insertions, 1 deletions
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