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