2017-04-12 06:00:43 +10:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Settings
|
|
|
|
module Exports
|
2017-05-31 03:06:01 +10:00
|
|
|
class BlockedAccountsController < ApplicationController
|
|
|
|
include ExportControllerConcern
|
|
|
|
|
|
|
|
def index
|
|
|
|
send_export_file
|
|
|
|
end
|
|
|
|
|
2017-04-13 02:20:44 +10:00
|
|
|
private
|
2017-04-12 06:00:43 +10:00
|
|
|
|
2017-04-13 21:02:02 +10:00
|
|
|
def export_data
|
|
|
|
@export.to_blocked_accounts_csv
|
2017-04-12 06:00:43 +10:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|