diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-21 18:03:23 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-23 18:11:39 +0300 |
commit | 9c60354a6a7e2f0249719b4c0cf929c5d8ebc6e2 (patch) | |
tree | a04cf70072271fc4eec67359ba8ad6e1c7f6e302 /app/views/users/show.atom.builder | |
parent | a6dfd065ca9de2e421425a5126c68bf8949ce110 (diff) |
Make links and titles of atom feeds consistent.
Diffstat (limited to 'app/views/users/show.atom.builder')
-rw-r--r-- | app/views/users/show.atom.builder | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/users/show.atom.builder b/app/views/users/show.atom.builder index 8fe30b23635..50232dc7186 100644 --- a/app/views/users/show.atom.builder +++ b/app/views/users/show.atom.builder @@ -1,9 +1,9 @@ xml.instruct! xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do - xml.title "Activity feed for #{@user.name}" + xml.title "#{@user.name} activity" xml.link href: user_url(@user, :atom), rel: "self", type: "application/atom+xml" xml.link href: user_url(@user), rel: "alternate", type: "text/html" - xml.id projects_url + xml.id user_url(@user) xml.updated @events.maximum(:updated_at).strftime("%Y-%m-%dT%H:%M:%SZ") if @events.any? @events.each do |event| |