2019-01-01 12:44:04 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Settings
|
|
|
|
module Exports
|
2020-09-11 19:56:35 +01:00
|
|
|
class BlockedDomainsController < BaseController
|
2019-01-01 12:44:04 +00:00
|
|
|
include ExportControllerConcern
|
|
|
|
|
|
|
|
def index
|
|
|
|
send_export_file
|
|
|
|
end
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def export_data
|
|
|
|
@export.to_blocked_domains_csv
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|