Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_issue.atom.builder « issues « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d14eff22bb6ee00ef872bd22b2083d788d3ed730 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

xml.entry do
  xml.id      project_issue_url(issue.project, issue)
  xml.link    href: project_issue_url(issue.project, issue)
  # 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