summaryrefslogtreecommitdiff
path: root/config/routes/admin.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-16 18:25:58 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-16 18:25:58 +0000
commita5f4bba440d7f9ea47046a0a561d49adf0a1e6d4 (patch)
treefb69158581673816a8cd895f9d352dcb3c678b1e /config/routes/admin.rb
parentd16b2e8639e99961de6ddc93909f3bb5c1445ba1 (diff)
downloadgitlab-ce-a5f4bba440d7f9ea47046a0a561d49adf0a1e6d4.tar.gz
Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42
Diffstat (limited to 'config/routes/admin.rb')
-rw-r--r--config/routes/admin.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb
index 2ba00e3bf66..7bd24ac5f5b 100644
--- a/config/routes/admin.rb
+++ b/config/routes/admin.rb
@@ -95,6 +95,7 @@ namespace :admin do
get :instance_review, to: 'instance_review#index'
+ resources :background_migrations, only: [:index]
resource :health_check, controller: 'health_check', only: [:show]
resource :background_jobs, controller: 'background_jobs', only: [:show]
@@ -103,7 +104,6 @@ namespace :admin do
resources :projects, only: [:index]
- get '/instance_statistics', to: redirect('admin/usage_trends')
resources :usage_trends, only: :index
resource :dev_ops_report, controller: 'dev_ops_report', only: :show
resources :cohorts, only: :index
@@ -124,15 +124,6 @@ namespace :admin do
end
end
- resource :appearances, only: [:show, :create, :update], path: 'appearance' do
- member do
- get :preview_sign_in
- delete :logo
- delete :header_logos
- delete :favicon
- end
- end
-
resource :application_settings, only: :update do
resources :services, only: [:index, :edit, :update]
resources :integrations, only: [:edit, :update] do
@@ -153,6 +144,15 @@ namespace :admin do
get :status_create_self_monitoring_project
delete :delete_self_monitoring_project
get :status_delete_self_monitoring_project
+
+ resource :appearances, only: [:show, :create, :update], path: 'appearance', module: 'application_settings' do
+ member do
+ get :preview_sign_in
+ delete :logo
+ delete :header_logos
+ delete :favicon
+ end
+ end
end
resources :plan_limits, only: :create