aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/blog/shared
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-02-24 22:34:58 -0600
committerJoe Sak <joe@joesak.com>2011-02-24 22:34:58 -0600
commited95360b7cf86220097c4dad77b924be258eed4f (patch)
tree6177758b0d2c8ef88fdcae256e15ec7fa7d7a792 /app/views/blog/shared
parentc9c38df5ba94fa6dfa6f04cffd24a96e9e5d88ca (diff)
downloadrefinerycms-blog-ed95360b7cf86220097c4dad77b924be258eed4f.tar.gz
refinerycms-blog-ed95360b7cf86220097c4dad77b924be258eed4f.tar.bz2
refinerycms-blog-ed95360b7cf86220097c4dad77b924be258eed4f.zip
Whups. Wrong variable name pasted in
Diffstat (limited to 'app/views/blog/shared')
-rw-r--r--app/views/blog/shared/_post.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/blog/shared/_post.html.erb b/app/views/blog/shared/_post.html.erb
index 345081a..2d09618 100644
--- a/app/views/blog/shared/_post.html.erb
+++ b/app/views/blog/shared/_post.html.erb
@@ -5,7 +5,7 @@
<details>
<time datetime="<%=l post.published_at.to_date, :format => :default %>" class='posted_at'>
<%= t('blog.shared.posts.created_at', :when => l(post.published_at.to_date, :format => :short)) %>.
- </time><%= " by #{@blog_post.author.username}" if @blog_post.author.present? %>
+ </time><%= " by #{post.author.username}" if post.author.present? %>
<% if (categories = post.categories).any? %>
<aside class='filed_in'>
<%= t('filed_in', :scope => 'blog.posts.show') %>