Temporarily disable reporting because its crashing production. No data has been seeded and the logs are reporting this class as causing the crash?

This commit is contained in:
rebuilt 2023-03-18 13:45:11 -07:00
parent b105ed78be
commit 86e67d3965
2 changed files with 46 additions and 46 deletions

View file

@ -1,8 +1,8 @@
class GpsController < ActionController::Base
def index
respond_to do |format|
format.html
format.csv { send_data Report::Gps.to_csv, disposition: 'attachment', filename: "gps_#{Date.today}.csv" }
end
# respond_to do |format|
# format.html
# format.csv { send_data Report::Gps.to_csv, disposition: 'attachment', filename: "gps_#{Date.today}.csv" }
# end
end
end