From 448380ae81e3dfe182b9092880d4a314b39d034a Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 4 Oct 2015 12:42:56 +0200 Subject: Add dummy method to generate PDF from registration data. --- registration.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'registration.rb') diff --git a/registration.rb b/registration.rb index f599bfd..e5be8f0 100644 --- a/registration.rb +++ b/registration.rb @@ -11,6 +11,7 @@ class RegistrationApp < Sinatra::Base if request.form_data? #p request['band'] @band = Band.new(request['band']) + generate_pdf_for @band send_registration_emails_for @band erb :submitted end -- cgit v1.2.3