# frozen_string_literal: true
ActionController::Renderers.add :csv do |object, _|
  send_data object.csv, type: Mime::CSV, disposition: 'attachment; filename=data.csv'
end

# frozen_string_literal: true
ActionController::Renderers.add :csv do |object, _|
  send_data object.csv, type: Mime[:csv], disposition: 'attachment; filename=data.csv'
end

Remove `Mime` access deprecation warning
Remove `Mime` access deprecation warning
