debian-mirror-gitlab/app/views/issues/_issue.atom.builder

10 lines
427 B
Text
Raw Normal View History

2021-03-11 19:13:27 +05:30
# frozen_string_literal: true
xml.entry do
2017-09-10 17:25:29 +05:30
xml.id project_issue_url(issue.project, issue)
xml.link href: project_issue_url(issue.project, issue)
2021-11-11 11:23:49 +05:30
# 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 })
xml.due_date issue.due_date if issue.due_date
end