From d104b552b4f998e50fcff2de58616c63fdc33728 Mon Sep 17 00:00:00 2001 From: Carolyn Date: Mon, 24 Feb 2025 23:00:45 +0000 Subject: [PATCH] lint --- app/controllers/test_data_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/test_data_controller.rb b/app/controllers/test_data_controller.rb index e74e6c407..88658a72c 100644 --- a/app/controllers/test_data_controller.rb +++ b/app/controllers/test_data_controller.rb @@ -58,7 +58,8 @@ class TestDataController < ApplicationController file.write(log_to_csv.default_field_numbers_row) file.write(log_to_csv.to_csv_row) file.rewind - send_file file.path, type: "text/csv", + send_file file.path, + type: "text/csv", filename: "#{year}_test_sales_log.csv", disposition: "attachment", after_send: lambda {