2021-02-12 07:09:02 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-05-23 17:06:26 -04:00
|
|
|
xml.entry do
|
2017-06-29 13:06:35 -04:00
|
|
|
xml.id project_issue_url(issue.project, issue)
|
|
|
|
xml.link href: project_issue_url(issue.project, issue)
|
2021-08-20 05:09:16 -04: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 03:22:01 -04:00
|
|
|
xml.due_date issue.due_date if issue.due_date
|
2016-05-23 17:06:26 -04:00
|
|
|
end
|