Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/admin.rb')
-rw-r--r--config/routes/admin.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb
index 0123bf0627c..5513ac1813a 100644
--- a/config/routes/admin.rb
+++ b/config/routes/admin.rb
@@ -35,7 +35,11 @@ namespace :admin do
resource :impersonation, only: :destroy
- resources :abuse_reports, only: [:index, :show, :update, :destroy]
+ resources :abuse_reports, only: [:index, :show, :update, :destroy] do
+ member do
+ put :moderate_user
+ end
+ end
resources :gitaly_servers, only: [:index]
resources :spam_logs, only: [:index, :destroy] do