2011-12-07 18:31:06 -05:00
|
|
|
xml.instruct!
|
2014-12-31 15:05:38 -05:00
|
|
|
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
|
2012-11-27 01:31:15 -05:00
|
|
|
xml.title "#{current_user.name} issues"
|
2016-11-03 06:29:37 -04:00
|
|
|
xml.link href: url_for(params), rel: "self", type: "application/atom+xml"
|
2015-04-23 11:10:35 -04:00
|
|
|
xml.link href: issues_dashboard_url, rel: "alternate", type: "text/html"
|
2015-04-21 11:03:23 -04:00
|
|
|
xml.id issues_dashboard_url
|
2017-03-11 17:05:01 -05:00
|
|
|
xml.updated @issues.first.updated_at.xmlschema if @issues.reorder(nil).any?
|
2011-12-07 18:31:06 -05:00
|
|
|
|
2016-06-10 09:22:50 -04:00
|
|
|
xml << render(partial: 'issues/issue', collection: @issues) if @issues.reorder(nil).any?
|
2011-12-07 18:31:06 -05:00
|
|
|
end
|