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
b114c046
Commit
b114c046
authored
Mar 22, 2022
by
Stan Hu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lucyfox-master-patch-56661' into 'master'
changed link anchor See merge request gitlab-org/gitlab!83470
parents
b9911fb5
e53505e5
Changes
2
Hide 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 @
b114c046
...
@@ -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
|
...
...
app/serializers/merge_request_noteable_entity.rb
View file @
b114c046
...
@@ -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
|
...
...
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