about summary refs log tree commit diff
path: root/app/controllers/settings/exports/blocked_domains_controller.rb
blob: bee4b2431e374e6e651ea3da4b9f4f13b34d9521 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module Settings
  module Exports
    class BlockedDomainsController < BaseController
      include ExportControllerConcern

      def index
        send_export_file
      end

      private

      def export_data
        @export.to_blocked_domains_csv
      end
    end
  end
end