From 6a3cf568aa005dad2f1e0fa4555aefaaea2363f5 Mon Sep 17 00:00:00 2001 From: Godwin Date: Mon, 24 Jul 2017 12:51:08 -0700 Subject: [PATCH] Fixed contact form (#244) * Fixed fonts * Fixed assets * Fixed logo in emails * Switched to immediate email delivery * Fixed prod emails and added deployment tasks * Fixed deployments * Updated README * Added Bike Collectives Core to README * Fixed issue with map loading * Fixed issue with map loading * Added map JSON data to assets precompilation * Fixed error sending to conference administrators --- app/controllers/application_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 8b67799..f352be1 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -217,8 +217,8 @@ class ApplicationController < BaseController if params[:reason] == 'conference' && logged_in? - @conference.conference_administrators.each do |user| - email_list << user.named_email + @conference.conference_administrators.each do |administrator| + email_list << administrator.user.named_email end end