]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/rss.rxml
Include a comment link in the diary RSS feed.
[rails.git] / app / views / diary_entry / rss.rxml
index 9590a4c8860cc6372c6496eae9a6d37b6e69d28d..4c9670a6d5f118230a536fe24961723cf769fb88 100644 (file)
@@ -23,6 +23,7 @@ xml.rss("version" => "2.0",
         xml.description htmlize(entry.body)
         xml.author entry.user.display_name
         xml.pubDate entry.created_at.to_s(:rfc822)
+        xml.comments url_for(:action => "view", :id => entry.id, :display_name => entry.user.display_name, :anchor => "comments", :only_path => false)
         
         if entry.latitude and entry.longitude
           xml.geo :lat, entry.latitude.to_s