about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index ac53bbed6..cde84d3bc 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -46,7 +46,12 @@ Rails.application.routes.draw do
 
   namespace :admin do
     resources :pubsubhubbub, only: [:index]
-    resources :accounts, only: [:index, :show, :update]
+
+    resources :accounts, only: [:index, :show, :update] do
+      member do
+        post :suspend
+      end
+    end
   end
 
   namespace :api do