rename intersecting_events to intersecting_event_schedules

This commit is contained in:
shlok007 2017-02-12 19:10:03 +05:30
parent 0296a1e70d
commit a2b3396897
3 changed files with 6 additions and 6 deletions

View file

@ -529,7 +529,7 @@ module ApplicationHelper
def replacement_event_notice(event_schedule)
if event_schedule.present? && event_schedule.replacement?
replaced_event = (event_schedule.intersecting_events.withdrawn.first || event_schedule.intersecting_events.canceled.first).event
replaced_event = (event_schedule.intersecting_event_schedules.withdrawn.first || event_schedule.intersecting_event_schedules.canceled.first).event
content_tag :span do
concat content_tag :span, 'Please note that this talk replaces '
concat link_to replaced_event.title, conference_program_proposal_path(@conference.short_title, replaced_event.id)