blocked_domains_controller.rb 318 B

12345678910111213141516171819
  1. # frozen_string_literal: true
  2. module Settings
  3. module Exports
  4. class BlockedDomainsController < ApplicationController
  5. include ExportControllerConcern
  6. def index
  7. send_export_file
  8. end
  9. private
  10. def export_data
  11. @export.to_blocked_domains_csv
  12. end
  13. end
  14. end
  15. end