This commit is contained in:
Nicolas Bally 2020-09-14 15:27:34 +02:00
parent 78d0355224
commit 345fd6d572

View File

@ -435,7 +435,7 @@ class Admin::PCustomersController < ApplicationController
@data_to_send = @csv
send_data "\uFEFF" + @data_to_send, :filename => "export-csv.csv" #, :type => 'text/csv; charset=iso-8859-1; header=present'
send_data "\uFEFF" + @data_to_send.to_s, :filename => "export-csv.csv", :type => :csv #, :type => 'text/csv; charset=iso-8859-1; header=present'