]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/notes/show.rss.builder
Merge remote-tracking branch 'upstream/pull/3373'
[rails.git] / app / views / api / notes / show.rss.builder
index 61ee0857a456562052e1186f75d53ed10e81f8df..d739ea6d998cc778862d8a7003550c152680b24a 100644 (file)
@@ -8,6 +8,6 @@ xml.rss("version" => "2.0",
     xml.description t("api.notes.rss.description_item", :id => @note.id)
     xml.link url_for(:controller => "/site", :action => "index", :only_path => false)
 
     xml.description t("api.notes.rss.description_item", :id => @note.id)
     xml.link url_for(:controller => "/site", :action => "index", :only_path => false)
 
-    xml << render(:partial => "note", :object => @note)
+    xml << render(@note)
   end
 end
   end
 end