Update show.atom.builder

Fix for https://github.com/gitlabhq/gitlabhq/issues/4157
This commit is contained in:
evalhub 2013-06-01 15:14:43 +03:00
parent ee2124b7e9
commit efa79936c3
1 changed files with 2 additions and 2 deletions

View File

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