fix locale key. 'i18n' was showing up in the blog index output

This commit is contained in:
David Jones 2011-05-31 14:57:05 +12:00
parent f0e4b6c8c1
commit ee47505833

View file

@ -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><%= "#{t('blog.shared.posts.by')} #{post.author.username}" if post.author.present? %>.
</time><%= "#{t('blog.posts.show.by')} #{post.author.username}" if post.author.present? %>.
<% if (categories = post.categories).any? %>
<aside class='filed_in'>
<%= t('filed_in', :scope => 'blog.posts.show') %>