0
0
Fork 0

Add explit admin actions to (re)subscribe/unsubscribe remote accounts (#3640)

* Add explit admin actions to (re)subscribe/unsubscribe remote accounts
and re-download avatar/header

* Improve how admin NSFW toggle looks
This commit is contained in:
Eugen Rochko 2017-06-08 14:58:22 +02:00 committed by GitHub
parent b8ea28d6d0
commit 8902e265b4
31 changed files with 348 additions and 314 deletions

View file

@ -85,6 +85,12 @@ Rails.application.routes.draw do
end
resources :accounts, only: [:index, :show] do
member do
post :subscribe
post :unsubscribe
post :redownload
end
resource :reset, only: [:create]
resource :silence, only: [:create, :destroy]
resource :suspension, only: [:create, :destroy]