Ugh, move constant
This commit is contained in:
parent
d4c96dc722
commit
59bf4f09dc
2 changed files with 1 additions and 2 deletions
|
|
@ -126,7 +126,6 @@ GEM
|
||||||
url
|
url
|
||||||
coderay (1.1.1)
|
coderay (1.1.1)
|
||||||
concurrent-ruby (1.1.6)
|
concurrent-ruby (1.1.6)
|
||||||
connection_pool (2.2.2)
|
|
||||||
countable-rails (0.0.1)
|
countable-rails (0.0.1)
|
||||||
railties (>= 3.1)
|
railties (>= 3.1)
|
||||||
countries (3.0.0)
|
countries (3.0.0)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
SNAPCON_BCC_ADDRESS = 'messages@snap.berkeley.edu'
|
SNAPCON_BCC_ADDRESS = 'messages@snap.berkeley.edu'
|
||||||
|
YTLF_TICKET_ID = 50
|
||||||
|
|
||||||
class Mailbot < ActionMailer::Base
|
class Mailbot < ActionMailer::Base
|
||||||
def registration_mail(conference, user)
|
def registration_mail(conference, user)
|
||||||
|
|
@ -24,7 +25,6 @@ class Mailbot < ActionMailer::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
template_name = 'ticket_confirmation_template'
|
template_name = 'ticket_confirmation_template'
|
||||||
YTLF_TICKET_ID = 50
|
|
||||||
if @ticket_purchase.ticket_id = YTLF_TICKET_ID
|
if @ticket_purchase.ticket_id = YTLF_TICKET_ID
|
||||||
template_name = 'young_thinkers_ticket_confirmation_template'
|
template_name = 'young_thinkers_ticket_confirmation_template'
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue