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