diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-15 13:10:50 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-15 14:12:21 -0500 |
commit | 0a5eba734e6aa6a6e7e8f64b022af8ea129c9f5d (patch) | |
tree | e6c0c0e6d54e03eecb22af00ba3ec5af1ac71fc2 /app/controllers/settings/exports | |
parent | 29643fd6c42bcee5a1d6a4a137256b33996c60f2 (diff) |
add ability to export followers
Diffstat (limited to 'app/controllers/settings/exports')
-rw-r--r-- | app/controllers/settings/exports/followers_accounts_controller.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/controllers/settings/exports/followers_accounts_controller.rb b/app/controllers/settings/exports/followers_accounts_controller.rb new file mode 100644 index 000000000..5ed5d6160 --- /dev/null +++ b/app/controllers/settings/exports/followers_accounts_controller.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Settings + module Exports + class FollowersAccountsController < ApplicationController + include ExportControllerConcern + + def index + send_export_file + end + + private + + def export_data + @export.to_followers_accounts_csv + end + end + end +end |