aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/blog/posts
diff options
context:
space:
mode:
authordjones <dgjones@gmail.com>2010-09-21 17:34:35 +1200
committerdjones <dgjones@gmail.com>2010-09-21 17:34:35 +1200
commit9a2906c8251448a13b887786cb16082dbf2cba1f (patch)
treec843a32cfbf5f86b9c71e36bccc0dac221648ff6 /app/views/blog/posts
parent0993314625a7fea5120da085f5f5c58b2f8435d8 (diff)
downloadrefinerycms-blog-9a2906c8251448a13b887786cb16082dbf2cba1f.tar.gz
refinerycms-blog-9a2906c8251448a13b887786cb16082dbf2cba1f.tar.bz2
refinerycms-blog-9a2906c8251448a13b887786cb16082dbf2cba1f.zip
use published at in more places
Diffstat (limited to 'app/views/blog/posts')
-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'>