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