From 8902e265b4efea68cafef790ee0e2870f62985cd Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 8 Jun 2017 14:58:22 +0200 Subject: 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 --- config/routes.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index c71c5603c..f5fc2b5d6 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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] -- cgit