blocked_domains_controller.rb 321 B

12345678910111213141516171819
  1. # frozen_string_literal: true
  2. module Settings
  3. module Exports
  4. class BlockedDomainsController < BaseController
  5. include Settings::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