Commit 0f5f021527065985d2af45dc0f3b2adf472d10f9
1 parent
f3d5b565
Exists in
master
and in
4 other branches
Fix commits atom feed
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/projects/commits/show.atom.builder
... | ... | @@ -3,7 +3,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear |
3 | 3 | xml.title "Recent commits to #{@project.name}:#{@ref}" |
4 | 4 | xml.link :href => project_commits_url(@project, @ref, format: :atom), :rel => "self", :type => "application/atom+xml" |
5 | 5 | xml.link :href => project_commits_url(@project, @ref), :rel => "alternate", :type => "text/html" |
6 | - xml.id project_commits_url(@project) | |
6 | + xml.id project_commits_url(@project, @ref) | |
7 | 7 | xml.updated @commits.first.committed_date.strftime("%Y-%m-%dT%H:%M:%SZ") if @commits.any? |
8 | 8 | |
9 | 9 | @commits.each do |commit| | ... | ... |