diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-08 14:58:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-08 14:58:22 +0200 |
commit | 8902e265b4efea68cafef790ee0e2870f62985cd (patch) | |
tree | e52d74efc1074e800ed31b188bfd66962b814ee1 /config/routes.rb | |
parent | b8ea28d6d0bd5701cf35d6f633b0aa36ceb5ca9c (diff) |
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
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 6 insertions, 0 deletions
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] |