mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
issue links
This commit is contained in:
7
app/views/api/pm/issue_links/index.json.jbuilder
Normal file
7
app/views/api/pm/issue_links/index.json.jbuilder
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
json.links @links.each do |link|
|
||||
json.id link.id
|
||||
json.issue do
|
||||
json.partial! "api/v1/issues/simple_detail", locals: {issue: link.be_linkable}
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user