2017-04-11 22:00:43 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Settings
|
|
|
|
module Exports
|
2020-09-11 20:56:35 +02:00
|
|
|
class BlockedAccountsController < BaseController
|
2017-05-30 19:06:01 +02:00
|
|
|
include ExportControllerConcern
|
|
|
|
|
|
|
|
def index
|
|
|
|
send_export_file
|
|
|
|
end
|
|
|
|
|
2017-04-12 18:20:44 +02:00
|
|
|
private
|
2017-04-11 22:00:43 +02:00
|
|
|
|
2017-04-13 13:02:02 +02:00
|
|
|
def export_data
|
|
|
|
@export.to_blocked_accounts_csv
|
2017-04-11 22:00:43 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|