diff --git a/app/views/api/v2/accounts/reports/agents.csv.erb b/app/views/api/v2/accounts/reports/agents.csv.erb index dfc90f016..db1e3dcc0 100644 --- a/app/views/api/v2/accounts/reports/agents.csv.erb +++ b/app/views/api/v2/accounts/reports/agents.csv.erb @@ -9,5 +9,5 @@ %> <%= CSVSafe.generate_line headers -%> <% @report_data.each do |row| %> -<%= CSVSafe.generate_line row -%> +<%= CSV.generate_line row -%> <% end %> diff --git a/app/views/api/v2/accounts/reports/conversation_traffic.erb b/app/views/api/v2/accounts/reports/conversation_traffic.erb index d0cb245f4..909d63404 100644 --- a/app/views/api/v2/accounts/reports/conversation_traffic.erb +++ b/app/views/api/v2/accounts/reports/conversation_traffic.erb @@ -1,5 +1,5 @@ <%= CSV.generate_line [I18n.t('reports.conversation_traffic_csv.timezone'), @timezone] %> <% @report_data.each do |row| %> -<%= CSVSafe.generate_line row -%> +<%= CSV.generate_line row -%> <% end %> diff --git a/app/views/api/v2/accounts/reports/inboxes.csv.erb b/app/views/api/v2/accounts/reports/inboxes.csv.erb index df038d5fe..5721c6236 100644 --- a/app/views/api/v2/accounts/reports/inboxes.csv.erb +++ b/app/views/api/v2/accounts/reports/inboxes.csv.erb @@ -10,5 +10,5 @@ %> <%= CSVSafe.generate_line headers -%> <% @report_data.each do |row| %> -<%= CSVSafe.generate_line row -%> +<%= CSV.generate_line row -%> <% end %> diff --git a/app/views/api/v2/accounts/reports/labels.csv.erb b/app/views/api/v2/accounts/reports/labels.csv.erb index fdf578415..8dc18f34c 100644 --- a/app/views/api/v2/accounts/reports/labels.csv.erb +++ b/app/views/api/v2/accounts/reports/labels.csv.erb @@ -9,5 +9,5 @@ %> <%= CSVSafe.generate_line headers -%> <% @report_data.each do |row| %> -<%= CSVSafe.generate_line row -%> +<%= CSV.generate_line row -%> <% end %> diff --git a/app/views/api/v2/accounts/reports/teams.csv.erb b/app/views/api/v2/accounts/reports/teams.csv.erb index 1c2e6084a..f1d7f77ca 100644 --- a/app/views/api/v2/accounts/reports/teams.csv.erb +++ b/app/views/api/v2/accounts/reports/teams.csv.erb @@ -9,5 +9,5 @@ %> <%= CSVSafe.generate_line headers -%> <% @report_data.each do |row| %> -<%= CSVSafe.generate_line row -%> +<%= CSV.generate_line row -%> <% end %>