Update show.atom.builder
Fix for https://github.com/gitlabhq/gitlabhq/issues/4157
This commit is contained in:
parent
efa79936c3
commit
a00e29d7cc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue