1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 15:35:22 +02:00

chore: run rubocop

This commit is contained in:
neo773 2025-04-18 00:08:40 +05:30
parent 01c07510d0
commit e1808474ed
No known key found for this signature in database
GPG key ID: 6B43F29FCC69B333

View file

@ -7,9 +7,9 @@ class Import::UploadsController < ApplicationController
end
def sample_csv
send_data @import.csv_template.to_csv,
filename: "#{@import.type.underscore.split('_').first}_sample.csv",
type: "text/csv",
send_data @import.csv_template.to_csv,
filename: "#{@import.type.underscore.split('_').first}_sample.csv",
type: "text/csv",
disposition: "attachment"
end