diff --git a/app/models/email_settings.rb b/app/models/email_settings.rb index d40b2eb8..58e3cbca 100644 --- a/app/models/email_settings.rb +++ b/app/models/email_settings.rb @@ -25,8 +25,8 @@ class EmailSettings < ActiveRecord::Base conference.short_title, host: CONFIG['url_for_emails']), 'conference_splash_link' => Rails.application.routes.url_helpers.conference_url( conference.short_title, host: CONFIG['url_for_emails']), - 'cfp_start_date' => conference.call_for_papers.start_date, - 'cfp_end_date' => conference.call_for_papers.end_date, + 'cfp_start_date' => conference.call_for_paper.start_date, + 'cfp_end_date' => conference.call_for_paper.end_date, 'schedule_link' => Rails.application.routes.url_helpers.schedule_conference_url( conference.short_title, host: CONFIG['url_for_emails']) }