Commit e53505e5 authored by Lucy Fox's avatar Lucy Fox

changed link anchor

also known as: "fixed"
parent de0f1c5c
...@@ -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