Browse Source

Fixed error on housing excel sheet

development
Godwin 8 years ago
committed by GitHub
parent
commit
67c18edd31
  1. 2
      app/controllers/conferences_controller.rb

2
app/controllers/conferences_controller.rb

@ -398,7 +398,7 @@ class ConferencesController < ApplicationController
email: host.user.email, email: host.user.email,
phone: data['phone'], phone: data['phone'],
availability: data['availability'].present? && data['availability'][1].present? ? view_context.date_span(data['availability'][0].to_date, data['availability'][1].to_date) : '', availability: data['availability'].present? && data['availability'][1].present? ? view_context.date_span(data['availability'][0].to_date, data['availability'][1].to_date) : '',
considerations: (data['considerations'].map { | consideration | view_context._"articles.conference_registration.host.considerations.#{consideration}" }).join(', '), considerations: ((data['considerations'] || []).map { | consideration | view_context._"articles.conference_registration.host.considerations.#{consideration}" }).join(', '),
empty: '', empty: '',
guests: { guests: {
columns: [:name, :area, :email, :arrival_departure, :allergies, :food, :companion, :city], columns: [:name, :area, :email, :arrival_departure, :allergies, :food, :companion, :city],

Loading…
Cancel
Save