summaryrefslogtreecommitdiffstats
path: root/lib/registration.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/registration.rb')
-rw-r--r--lib/registration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/registration.rb b/lib/registration.rb
index bebe326..bfcf903 100644
--- a/lib/registration.rb
+++ b/lib/registration.rb
@@ -6,7 +6,7 @@ require 'mail'
def send_registration_emails_for(band, pdf_url)
mail = Mail.new
mail.charset = 'UTF-8'
- mail.to = 'haraldei@anduin.net'
+ mail.to = settings.contact_email
mail.from = @band.contact.email
mail.subject = "Registrering av band #{@band.name} til Norsk Urskog"
mail.body = erb :registration_email, :layout => false, :locals => { :pdf_url => pdf_url }