2017-04-11 13:00:43 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Settings
|
|
|
|
module Exports
|
2017-05-30 10:06:01 -07:00
|
|
|
class FollowingAccountsController < ApplicationController
|
|
|
|
include ExportControllerConcern
|
|
|
|
|
|
|
|
def index
|
|
|
|
send_export_file
|
|
|
|
end
|
|
|
|
|
2017-04-12 09:20:44 -07:00
|
|
|
private
|
2017-04-11 13:00:43 -07:00
|
|
|
|
2017-04-13 04:02:02 -07:00
|
|
|
def export_data
|
|
|
|
@export.to_following_accounts_csv
|
2017-04-11 13:00:43 -07:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|