fix locale key. 'i18n' was showing up in the blog index output
This commit is contained in:
parent
f0e4b6c8c1
commit
ee47505833
1 changed files with 1 additions and 1 deletions
|
@ -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') %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue