From 04e06ac25127131061a8a4acfb5287a04a3639ff Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Tue, 4 Mar 2014 10:41:38 +0100 Subject: [PATCH] Remove question fields from speaker statistics --- app/controllers/admin/stats_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/admin/stats_controller.rb b/app/controllers/admin/stats_controller.rb index 29b08d84..4de35dc6 100644 --- a/app/controllers/admin/stats_controller.rb +++ b/app/controllers/admin/stats_controller.rb @@ -19,7 +19,7 @@ class Admin::StatsController < ApplicationController @speakers = Person.joins(:events).where("events.conference_id = ? AND events.state LIKE ?", @conference.id, 'confirmed').uniq @speaker_fields_person = %w[name email affiliation] - @speaker_fields_reg = %w[with_partner need_access other_needs diet arrival departure] + @speaker_fields_reg = %w[other_needs diet arrival departure] @supporter_levels = @conference.supporter_levels @tickets = @conference.registrations.joins(:supporter_registration => :supporter_level) @@ -74,4 +74,4 @@ class Admin::StatsController < ApplicationController helper_method :speaker_diet helper_method :diet_count helper_method :social_event_count -end \ No newline at end of file +end