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:
parent
08fce08217
commit
7f0a865b05
13 changed files with 86 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue