diff --git a/app/views/registration_mailer/confirm_registration.html.erb b/app/views/registration_mailer/confirm_registration.html.erb index 5276a583..158f4737 100644 --- a/app/views/registration_mailer/confirm_registration.html.erb +++ b/app/views/registration_mailer/confirm_registration.html.erb @@ -13,6 +13,8 @@

Gelieve ten laatste 3 dagen voor het evenement te betalen. Indien dit niet meer lukt, gelieve ons te contacteren via <%= mail_to @registration.event.contact_email, @registration.event.contact_email %> om een andere betalingswijze af te spreken. Eens we uw betaling verwerkt hebben, zal u uw ticket via e-mail ontvangen.

+

U kan deze informatie ook altijd herbekijken op deze pagina. +

Mocht er zich eender welk probleem voordoen, kan u ons altijd via e-mail contacteren: <%= mail_to @registration.event.contact_email, @registration.event.contact_email %>

Met vriendelijke groet,
<%= @registration.event.club.name %>

@@ -31,6 +33,8 @@

Please pay at least 3 days before the event. If this is no longer possible, please contact us via <%= mail_to @registration.event.contact_email, @registration.event.contact_email %> to agree upon a different payment method. You will receive your ticket by mail once we processed your payment.

+

You can always view this information on this page. +

If you have any problems, you can contact us via mail: <%= mail_to @registration.event.contact_email, @registration.event.contact_email %>

Kind regards,
<%= @registration.event.club.name %>

diff --git a/config/environments/development.rb b/config/environments/development.rb index 848d5b70..24ffd573 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -36,7 +36,7 @@ config.action_mailer.perform_deliveries = true # Set base URL because emails don't have the Host header context - config.action_mailer.default_url_options = { :host => 'https://localhost:3000' } + config.action_mailer.default_url_options = { :host => 'http://localhost:3000' } # Print deprecation notices to the Rails logger. config.active_support.deprecation = :log diff --git a/config/environments/test.rb b/config/environments/test.rb index 470dee4b..7c87f89d 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -35,6 +35,9 @@ config.action_mailer.perform_caching = false + # Set base URL because emails don't have the Host header context + config.action_mailer.default_url_options = { :host => 'http://example.com' } + # Tell Action Mailer not to deliver emails to the real world. # The :test delivery method accumulates sent emails in the # ActionMailer::Base.deliveries array.