Fix some email template links
This commit is contained in:
parent
59257c85c5
commit
3cb569ad88
1 changed files with 3 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ class EmailSettings < ActiveRecord::Base
|
||||||
'conference' => conference.title,
|
'conference' => conference.title,
|
||||||
'conference_start_date' => conference.start_date,
|
'conference_start_date' => conference.start_date,
|
||||||
'conference_end_date' => conference.end_date,
|
'conference_end_date' => conference.end_date,
|
||||||
'registrationlink' => Rails.application.routes.url_helpers.conference_conference_registrations_path(
|
'registrationlink' => Rails.application.routes.url_helpers.conference_conference_registrations_url(
|
||||||
conference.short_title, host: CONFIG['url_for_emails']),
|
conference.short_title, host: CONFIG['url_for_emails']),
|
||||||
'conference_splash_link' => Rails.application.routes.url_helpers.conference_url(
|
'conference_splash_link' => Rails.application.routes.url_helpers.conference_url(
|
||||||
conference.short_title, host: CONFIG['url_for_emails']),
|
conference.short_title, host: CONFIG['url_for_emails']),
|
||||||
|
|
@ -51,8 +51,8 @@ class EmailSettings < ActiveRecord::Base
|
||||||
|
|
||||||
if !event.nil?
|
if !event.nil?
|
||||||
h['eventtitle'] = event.title
|
h['eventtitle'] = event.title
|
||||||
h['proposalslink'] = Rails.application.routes.url_helpers.new_conference_proposal_url(
|
h['proposalslink'] = Rails.application.routes.url_helpers.conference_proposal_index_url(
|
||||||
conference.short_title, event, host: CONFIG['url_for_emails'])
|
conference.short_title, host: CONFIG['url_for_emails'])
|
||||||
end
|
end
|
||||||
h
|
h
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue