0
0
Fork 0

Export follow/block lists as CSV

This commit is contained in:
Eugen Rochko 2017-03-19 20:29:41 +01:00
parent 08b96f1b9f
commit 56d998cbdb
6 changed files with 72 additions and 15 deletions

View file

@ -46,7 +46,13 @@ Rails.application.routes.draw do
namespace :settings do
resource :profile, only: [:show, :update]
resource :preferences, only: [:show, :update]
resource :export, only: [:show]
resource :export, only: [:show] do
collection do
get :follows, to: 'exports#download_following_list'
get :blocks, to: 'exports#download_blocking_list'
end
end
resource :two_factor_auth, only: [:show] do
member do