Ugh, move constant

This commit is contained in:
Michael Ball 2020-07-01 02:04:27 -07:00
parent d4c96dc722
commit 59bf4f09dc
2 changed files with 1 additions and 2 deletions

View file

@ -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)

View file

@ -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