diff --git a/Gemfile.lock b/Gemfile.lock index f2b06ecc..0a549452 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -126,7 +126,6 @@ GEM url coderay (1.1.1) concurrent-ruby (1.1.6) - connection_pool (2.2.2) countable-rails (0.0.1) railties (>= 3.1) countries (3.0.0) diff --git a/app/mailers/mailbot.rb b/app/mailers/mailbot.rb index 7b521c8d..f93c8270 100644 --- a/app/mailers/mailbot.rb +++ b/app/mailers/mailbot.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true SNAPCON_BCC_ADDRESS = 'messages@snap.berkeley.edu' +YTLF_TICKET_ID = 50 class Mailbot < ActionMailer::Base def registration_mail(conference, user) @@ -24,7 +25,6 @@ class Mailbot < ActionMailer::Base end template_name = 'ticket_confirmation_template' - YTLF_TICKET_ID = 50 if @ticket_purchase.ticket_id = YTLF_TICKET_ID template_name = 'young_thinkers_ticket_confirmation_template' end