2019-01-01 13:44:04 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Settings
|
|
|
|
module Exports
|
2020-09-11 20:56:35 +02:00
|
|
|
class ListsController < BaseController
|
2023-11-30 15:39:41 +01:00
|
|
|
include Settings::ExportControllerConcern
|
2019-01-01 13:44:04 +01:00
|
|
|
|
|
|
|
def index
|
|
|
|
send_export_file
|
|
|
|
end
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def export_data
|
|
|
|
@export.to_lists_csv
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|