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.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb
index a003ffca270..418d3324569 100644
--- a/config/routes/admin.rb
+++ b/config/routes/admin.rb
@@ -21,6 +21,10 @@ namespace :admin do
end
end
+ resource :session, only: [:new, :create] do
+ get 'destroy', action: :destroy, as: :destroy
+ end
+
resource :impersonation, only: :destroy
resources :abuse_reports, only: [:index, :destroy]