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 'lib/sidebars/projects/menus/infrastructure_menu.rb')
-rw-r--r--lib/sidebars/projects/menus/infrastructure_menu.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sidebars/projects/menus/infrastructure_menu.rb b/lib/sidebars/projects/menus/infrastructure_menu.rb
index 63eea0ea500..2181d89262b 100644
--- a/lib/sidebars/projects/menus/infrastructure_menu.rb
+++ b/lib/sidebars/projects/menus/infrastructure_menu.rb
@@ -89,12 +89,12 @@ module Sidebars
::Sidebars::MenuItem.new(
title: _('Google Cloud'),
link: project_google_cloud_configuration_path(context.project),
- active_routes: { controller: [
- :configuration,
- :service_accounts,
- :databases,
- :deployments,
- :gcp_regions
+ active_routes: { controller: %w[
+ projects/google_cloud/configuration
+ projects/google_cloud/service_accounts
+ projects/google_cloud/databases
+ projects/google_cloud/deployments
+ projects/google_cloud/gcp_regions
] },
item_id: :google_cloud
)