From e585300d7d0e8bc6888facfff8e69fe9ce32214a Mon Sep 17 00:00:00 2001
From: Russell Dickenson <rdickenson@gitlab.com>
Date: Thu, 31 Oct 2024 05:25:52 +0000
Subject: [PATCH] Fix link in merge request widget entity

---
 .rubocop_todo/gitlab/documentation_links/link.yml | 1 -
 app/serializers/merge_request_widget_entity.rb    | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.rubocop_todo/gitlab/documentation_links/link.yml b/.rubocop_todo/gitlab/documentation_links/link.yml
index 3754f71495b3..118f072564e8 100644
--- a/.rubocop_todo/gitlab/documentation_links/link.yml
+++ b/.rubocop_todo/gitlab/documentation_links/link.yml
@@ -15,7 +15,6 @@ Gitlab/DocumentationLinks/Link:
     - 'app/presenters/commit_status_presenter.rb'
     - 'app/presenters/dev_ops_report/metric_presenter.rb'
     - 'app/presenters/key_presenter.rb'
-    - 'app/serializers/merge_request_widget_entity.rb'
     - 'ee/app/components/namespaces/combined_storage_users/base_alert_component.rb'
     - 'ee/app/helpers/ee/groups/settings_helper.rb'
     - 'ee/app/helpers/ee/import_helper.rb'
diff --git a/app/serializers/merge_request_widget_entity.rb b/app/serializers/merge_request_widget_entity.rb
index b9ee7d635be4..cfe294dd64bc 100644
--- a/app/serializers/merge_request_widget_entity.rb
+++ b/app/serializers/merge_request_widget_entity.rb
@@ -129,7 +129,7 @@ class MergeRequestWidgetEntity < Grape::Entity
   end
 
   expose :security_reports_docs_path do |merge_request|
-    help_page_path('user/application_security/index.md', anchor: 'view-security-scan-information-in-merge-requests')
+    help_page_path('user/application_security/index.md', anchor: 'merge-request')
   end
 
   expose :enabled_reports do |merge_request|
-- 
GitLab