]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/feed.rss.builder
Add comment numbers to GUIDs to make them unique
[rails.git] / app / views / notes / feed.rss.builder
index df35b70d3bd4fb158a98033e0d40d670272e4fe3..26378a5142299aa3219d98d71c8e3b3f2a9783c4 100644 (file)
@@ -22,8 +22,8 @@ xml.rss("version" => "2.0",
           xml.title "unknown event"
         end
         
-        xml.link url_for(:controller => "browse", :action => "note", :id => comment.note.id, :only_path => false)
-        xml.guid url_for(:controller => "browse", :action => "note", :id => comment.note.id, :only_path => false)
+        xml.link url_for(:controller => "browse", :action => "note", :id => comment.note.id, :anchor => "c#{comment.id}", :only_path => false)
+        xml.guid url_for(:controller => "browse", :action => "note", :id => comment.note.id, :anchor => "c#{comment.id}", :only_path => false)
 
         xml.description do
           xml.cdata! render(:partial => "entry", :object => comment, :formats => [ :html ])