Commit b114c046 authored by Stan Hu's avatar Stan Hu

Merge branch 'lucyfox-master-patch-56661' into 'master'

changed link anchor

See merge request gitlab-org/gitlab!83470
parents b9911fb5 e53505e5
...@@ -61,7 +61,7 @@ class IssueEntity < IssuableEntity ...@@ -61,7 +61,7 @@ class IssueEntity < IssuableEntity
end end
expose :locked_discussion_docs_path, if: -> (issue) { issue.discussion_locked? } do |issue| expose :locked_discussion_docs_path, if: -> (issue) { issue.discussion_locked? } do |issue|
help_page_path('user/discussions/index.md', anchor: 'lock-discussions') help_page_path('user/discussions/index.md', anchor: 'prevent-comments-by-locking-an-issue')
end end
expose :is_project_archived do |issue| expose :is_project_archived do |issue|
......
...@@ -43,7 +43,7 @@ class MergeRequestNoteableEntity < IssuableEntity ...@@ -43,7 +43,7 @@ class MergeRequestNoteableEntity < IssuableEntity
end end
expose :locked_discussion_docs_path, if: -> (merge_request) { merge_request.discussion_locked? } do |merge_request| expose :locked_discussion_docs_path, if: -> (merge_request) { merge_request.discussion_locked? } do |merge_request|
help_page_path('user/discussions/index.md', anchor: 'lock-discussions') help_page_path('user/discussions/index.md', anchor: 'prevent-comments-by-locking-an-issue')
end end
expose :is_project_archived do |merge_request| expose :is_project_archived do |merge_request|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment