2021-02-12 12:09:02 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-05-23 21:06:26 +00:00
|
|
|
xml.entry do
|
2017-06-29 17:06:35 +00:00
|
|
|
xml.id project_issue_url(issue.project, issue)
|
|
|
|
xml.link href: project_issue_url(issue.project, issue)
|
2021-08-20 09:09:16 +00:00
|
|
|
# using the shovel operator (xml <<) would make us lose indentation, so we do this (https://github.com/rails/rails/issues/7036)
|
|
|
|
render(partial: 'shared/issuable/issuable', object: issue, locals: { builder: xml })
|
2016-05-15 07:22:01 +00:00
|
|
|
xml.due_date issue.due_date if issue.due_date
|
2016-05-23 21:06:26 +00:00
|
|
|
end
|