parent
7a1f823e4a
commit
6f6f4bc60d
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class StatsController < ApplicationController
|
|||
end
|
||||
|
||||
respond_to do |format|
|
||||
format.csv { send_data(SpreadsheetArchitect.to_xlsx(headers: headers, data: data), filename: "statistiques.csv") }
|
||||
format.csv { send_data(SpreadsheetArchitect.to_csv(headers: headers, data: data), filename: "statistiques.csv") }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue