diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-12 12:20:44 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-12 18:20:44 +0200 |
commit | 7f0a865b05628fa82ac692ec9a21c418e30dac14 (patch) | |
tree | 9c6e38bf2a644bcf9aab6f1fdc7f275cb380891a /config | |
parent | 08fce0821706a3c84b70fd513eb75c0ad7014c04 (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 'config')
-rw-r--r-- | config/locales/en.yml | 2 | ||||
-rw-r--r-- | config/routes.rb | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml index 802db148c..6e32d2c38 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -76,6 +76,7 @@ en: x_seconds: "%{count}s" exports: blocks: You block + mutes: You mute csv: CSV follows: You follow storage: Media storage @@ -92,6 +93,7 @@ en: types: blocking: Blocking list following: Following list + muting: Muting list upload: Upload landing_strip_html: <strong>%{name}</strong> is a user on <strong>%{domain}</strong>. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can <a href="%{sign_up_path}">sign up here</a>. media_attachments: diff --git a/config/routes.rb b/config/routes.rb index 99ce1754e..78bf7870c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -57,6 +57,7 @@ Rails.application.routes.draw do namespace :exports, constraints: { format: :csv } do resources :follows, only: :index, controller: :following_accounts resources :blocks, only: :index, controller: :blocked_accounts + resources :mutes, only: :index, controller: :muted_accounts end resource :two_factor_auth, only: [:show, :new, :create] do |