Settings export refactor (#1646)
* Refactor Export to take an account and know about the export types * Use Export instance in settings/exports#show
This commit is contained in:
@ -5,8 +5,8 @@ module Settings
|
||||
class MutedAccountsController < BaseController
|
||||
private
|
||||
|
||||
def export_accounts
|
||||
current_account.muting
|
||||
def export_data
|
||||
@export.to_muted_accounts_csv
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user