From 2839d6bf665eee2e519243d94286a8c92067a3d3 Mon Sep 17 00:00:00 2001 From: Skud Date: Tue, 4 Jun 2013 12:24:53 +1000 Subject: [PATCH] Fixed RSS bug where comments were showing up as "edited" Tried many ways to test this (assert_select, response.has_tag, etc), but couldn't get it to work. Have tested manually and it looks good. --- app/views/comments/index.rss.haml | 2 +- app/views/posts/show.rss.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/comments/index.rss.haml b/app/views/comments/index.rss.haml index 5e4b227c5..db2f7a54f 100644 --- a/app/views/comments/index.rss.haml +++ b/app/views/comments/index.rss.haml @@ -20,4 +20,4 @@ %pubDate= comment.created_at.to_s(:rfc822) %link= post_url(comment.post) - %guid= post_url(comment.post) + %guid= comment_url(comment) diff --git a/app/views/posts/show.rss.haml b/app/views/posts/show.rss.haml index 4f260a038..d5867dfb4 100644 --- a/app/views/posts/show.rss.haml +++ b/app/views/posts/show.rss.haml @@ -20,4 +20,4 @@ %pubDate= comment.created_at.to_s(:rfc822) %link= post_url(@post) - %guid= post_url(@post) + %guid= comment_url(comment)