From 97bbd6adb6bc78669b481c1690a8c2a4a4f35c34 Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Tue, 16 Dec 2014 11:26:03 +0100 Subject: [PATCH] Fix email_settings cfp call --- app/models/email_settings.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']) }