summaryrefslogtreecommitdiff
path: root/app/helpers/packages_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/packages_helper.rb')
-rw-r--r--app/helpers/packages_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/packages_helper.rb b/app/helpers/packages_helper.rb
index ebf30fb3538..70d9927cf7f 100644
--- a/app/helpers/packages_helper.rb
+++ b/app/helpers/packages_helper.rb
@@ -70,6 +70,7 @@ module PackagesHelper
can_delete: can?(current_user, :destroy_package, project).to_s,
svg_path: image_path('illustrations/no-packages.svg'),
npm_path: package_registry_instance_url(:npm),
+ npm_project_path: package_registry_project_url(project.id, :npm),
npm_help_path: help_page_path('user/packages/npm_registry/index'),
maven_path: package_registry_project_url(project.id, :maven),
maven_help_path: help_page_path('user/packages/maven_repository/index'),