summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-09-09 11:05:27 +0200
committerAchilleas Pipinellis <axil@gitlab.com>2019-09-11 17:34:42 +0200
commit11df20c2bd6450e2ed433e105d425acba8310545 (patch)
tree6adea76633d19bc47d19c17f0520538d0626e089
parentf95857c8c5155b4fb1d4ff5b521f28c8d72d9d90 (diff)
downloadgitlab-ce-change-package-registry-links.tar.gz
Change all Package Registry related linkschange-package-registry-links
In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/32761, all Package Registry related docs were brought under the same roof. This changes the links in the app itself.
-rw-r--r--app/helpers/projects_helper.rb2
-rw-r--r--app/views/projects/registry/repositories/index.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 14f947a03a3..0c5cbd51d4c 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -560,7 +560,7 @@ module ProjectsHelper
allowedVisibilityOptions: project_allowed_visibility_levels(project),
visibilityHelpPath: help_page_path('public_access/public_access'),
registryAvailable: Gitlab.config.registry.enabled,
- registryHelpPath: help_page_path('user/project/container_registry'),
+ registryHelpPath: help_page_path('user/packages/container_registry/index'),
lfsAvailable: Gitlab.config.lfs.enabled,
lfsHelpPath: help_page_path('workflow/lfs/manage_large_binaries_with_git_lfs'),
pagesAvailable: Gitlab.config.pages.enabled,
diff --git a/app/views/projects/registry/repositories/index.html.haml b/app/views/projects/registry/repositories/index.html.haml
index e34973f1f43..d0d06a0df7e 100644
--- a/app/views/projects/registry/repositories/index.html.haml
+++ b/app/views/projects/registry/repositories/index.html.haml
@@ -2,7 +2,7 @@
.row.registry-placeholder.prepend-bottom-10
.col-12
#js-vue-registry-images{ data: { endpoint: project_container_registry_index_path(@project, format: :json),
- "help_page_path" => help_page_path('user/project/container_registry'),
+ "help_page_path" => help_page_path('user/packages/container_registry/index'),
"no_containers_image" => image_path('illustrations/docker-empty-state.svg'),
"containers_error_image" => image_path('illustrations/docker-error-state.svg'),
"repository_url" => escape_once(@project.container_registry_url),