Update show.atom.builder

Fix for https://github.com/gitlabhq/gitlabhq/issues/4157
This commit is contained in:
evalhub 2013-06-01 15:15:22 +03:00
parent efa79936c3
commit a00e29d7cc

View file

@ -9,8 +9,8 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear
@events.each do |event| @events.each do |event|
if event.proper? if event.proper?
xml.entry do xml.entry do
event_link = event.feed_url event_link = event_feed_url(event)
event_title = event.feed_title event_title = event_feed_title(event)
xml.id "tag:#{request.host},#{event.created_at.strftime("%Y-%m-%d")}:#{event.id}" xml.id "tag:#{request.host},#{event.created_at.strftime("%Y-%m-%d")}:#{event.id}"
xml.link :href => event_link xml.link :href => event_link