0
0
Fork 0

Allow import/export of mutes list (#1541)

* Allow export of mutes list

* Allow importing of mutes list

* Refactor to use Settings::Exports::BaseController and DRY up exports code
This commit is contained in:
Matt Jankowski 2017-04-12 12:20:44 -04:00 committed by Eugen
parent 08fce08217
commit 7f0a865b05
13 changed files with 86 additions and 19 deletions

View file

@ -9,5 +9,6 @@ class Settings::ExportsController < ApplicationController
@total_storage = current_account.media_attachments.sum(:file_file_size)
@total_follows = current_account.following.count
@total_blocks = current_account.blocking.count
@total_mutes = current_account.muting.count
end
end