2018-08-27 11:31:01 -04:00
|
|
|
# rubocop: disable CodeReuse/ActiveRecord
|
2017-06-12 13:21:13 -04:00
|
|
|
xml.title "#{current_user.name} issues"
|
2018-04-08 00:35:30 -04:00
|
|
|
xml.link href: url_for(safe_params), rel: "self", type: "application/atom+xml"
|
2017-06-12 13:21:13 -04:00
|
|
|
xml.link href: issues_dashboard_url, rel: "alternate", type: "text/html"
|
|
|
|
xml.id issues_dashboard_url
|
|
|
|
xml.updated @issues.first.updated_at.xmlschema if @issues.reorder(nil).any?
|
2011-12-07 18:31:06 -05:00
|
|
|
|
2017-06-12 13:21:13 -04:00
|
|
|
xml << render(partial: 'issues/issue', collection: @issues) if @issues.reorder(nil).any?
|
2018-08-27 11:31:01 -04:00
|
|
|
# rubocop: enable CodeReuse/ActiveRecord
|