@@ -24,7 +24,7 @@ def questions_with_add_another_answer
2424 questions = Reports ::FeatureReportService . new ( forms ) . questions_with_add_another_answer
2525
2626 if params [ :format ] == "csv"
27- send_data Reports ::QuestionsCsvReportService . new ( questions ) . questions_csv ,
27+ send_data Reports ::QuestionsCsvReportService . new ( questions ) . csv ,
2828 type : "text/csv; charset=iso-8859-1" ,
2929 disposition : "attachment; filename=#{ csv_filename ( 'live_questions_with_add_another_answer_report' ) } "
3030 else
@@ -37,7 +37,7 @@ def forms_with_routes
3737 forms = Reports ::FeatureReportService . new ( forms ) . forms_with_routes
3838
3939 if params [ :format ] == "csv"
40- send_data Reports ::FormsCsvReportService . new ( forms ) . forms_csv ,
40+ send_data Reports ::FormsCsvReportService . new ( forms ) . csv ,
4141 type : "text/csv; charset=iso-8859-1" ,
4242 disposition : "attachment; filename=#{ csv_filename ( 'live_forms_with_routes_report' ) } "
4343 else
@@ -50,7 +50,7 @@ def forms_with_payments
5050 forms = Reports ::FeatureReportService . new ( forms ) . forms_with_payments
5151
5252 if params [ :format ] == "csv"
53- send_data Reports ::FormsCsvReportService . new ( forms ) . forms_csv ,
53+ send_data Reports ::FormsCsvReportService . new ( forms ) . csv ,
5454 type : "text/csv; charset=iso-8859-1" ,
5555 disposition : "attachment; filename=#{ csv_filename ( 'live_forms_with_payments_report' ) } "
5656 else
@@ -63,7 +63,7 @@ def forms_with_csv_submission_enabled
6363 forms = Reports ::FeatureReportService . new ( forms ) . forms_with_csv_submission_enabled
6464
6565 if params [ :format ] == "csv"
66- send_data Reports ::FormsCsvReportService . new ( forms ) . forms_csv ,
66+ send_data Reports ::FormsCsvReportService . new ( forms ) . csv ,
6767 type : "text/csv; charset=iso-8859-1" ,
6868 disposition : "attachment; filename=#{ csv_filename ( 'live_forms_with_csv_submission_enabled_report' ) } "
6969 else
@@ -114,7 +114,7 @@ def csv_downloads; end
114114 def live_forms_csv
115115 forms = Reports ::FormDocumentsService . live_form_documents
116116
117- send_data Reports ::FormsCsvReportService . new ( forms ) . forms_csv ,
117+ send_data Reports ::FormsCsvReportService . new ( forms ) . csv ,
118118 type : "text/csv; charset=iso-8859-1" ,
119119 disposition : "attachment; filename=#{ csv_filename ( 'live_forms_report' ) } "
120120 end
@@ -128,7 +128,7 @@ def live_questions_csv
128128 Reports ::FeatureReportService . new ( forms ) . questions
129129 end
130130
131- send_data Reports ::QuestionsCsvReportService . new ( questions ) . questions_csv ,
131+ send_data Reports ::QuestionsCsvReportService . new ( questions ) . csv ,
132132 type : "text/csv; charset=iso-8859-1" ,
133133 disposition : "attachment; filename=#{ questions_csv_filename ( answer_type ) } "
134134 end
0 commit comments