aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/blog/posts/index.rss.builder2
-rw-r--r--app/views/blog/posts/show.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/blog/posts/index.rss.builder b/app/views/blog/posts/index.rss.builder
index d9ad0da..51fa4da 100644
--- a/app/views/blog/posts/index.rss.builder
+++ b/app/views/blog/posts/index.rss.builder
@@ -9,7 +9,7 @@ xml.rss :version => "2.0" do
xml.item do
xml.title post.title
xml.description post.body
- xml.pubDate post.created_at.to_s(:rfc822)
+ xml.pubDate post.published_at.to_s(:rfc822)
xml.link blog_post_url(post)
end
end
diff --git a/app/views/blog/posts/show.html.erb b/app/views/blog/posts/show.html.erb
index ed2c082..84b35ca 100644
--- a/app/views/blog/posts/show.html.erb
+++ b/app/views/blog/posts/show.html.erb
@@ -11,7 +11,7 @@
<% content_for :body_content_left do %>
<p class='posted_at'>
- <%= t('blog.shared.posts.created_at', :when => @blog_post.created_at.strftime('%d %B %Y')) %>.
+ <%= t('blog.shared.posts.created_at', :when => @blog_post.published_at.strftime('%d %B %Y')) %>.
<% if (categories = @blog_post.categories).any? %>
<span class='filed_in'>