Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e53505e5
Commit
e53505e5
authored
Mar 22, 2022
by
Lucy Fox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed link anchor
also known as: "fixed"
parent
de0f1c5c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/serializers/issue_entity.rb
app/serializers/issue_entity.rb
+1
-1
app/serializers/merge_request_noteable_entity.rb
app/serializers/merge_request_noteable_entity.rb
+1
-1
No files found.
app/serializers/issue_entity.rb
View file @
e53505e5
...
...
@@ -61,7 +61,7 @@ class IssueEntity < IssuableEntity
end
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
expose
:is_project_archived
do
|
issue
|
...
...
app/serializers/merge_request_noteable_entity.rb
View file @
e53505e5
...
...
@@ -43,7 +43,7 @@ class MergeRequestNoteableEntity < IssuableEntity
end
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
expose
:is_project_archived
do
|
merge_request
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment