about summary refs log tree commit diff
path: root/app/controllers/settings/exports_controller.rb
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-12 12:20:44 -0400
committerEugen <eugen@zeonfederated.com>2017-04-12 18:20:44 +0200
commit7f0a865b05628fa82ac692ec9a21c418e30dac14 (patch)
tree9c6e38bf2a644bcf9aab6f1fdc7f275cb380891a /app/controllers/settings/exports_controller.rb
parent08fce0821706a3c84b70fd513eb75c0ad7014c04 (diff)
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
Diffstat (limited to 'app/controllers/settings/exports_controller.rb')
-rw-r--r--app/controllers/settings/exports_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/settings/exports_controller.rb b/app/controllers/settings/exports_controller.rb
index e060f03d3..77dea3231 100644
--- a/app/controllers/settings/exports_controller.rb
+++ b/app/controllers/settings/exports_controller.rb
@@ -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