diff options
Diffstat (limited to 'app/views/refinery/blog/shared/_post.html.erb')
-rw-r--r-- | app/views/refinery/blog/shared/_post.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/refinery/blog/shared/_post.html.erb b/app/views/refinery/blog/shared/_post.html.erb index 5b90c8e..40ae70b 100644 --- a/app/views/refinery/blog/shared/_post.html.erb +++ b/app/views/refinery/blog/shared/_post.html.erb @@ -7,7 +7,7 @@ <%= t('created_at', :scope => 'refinery.blog.shared.posts', :when => l(post.published_at.to_date, :format => :short)) %> </time> <%= "#{t('by', :scope => 'refinery.blog.posts.show')} #{post.author.username}" if post.author.present? %>. - <% if (categories = post.categories).any? %> + <% if (categories = post.categories.translated).any? %> <aside class='filed_in'> <%= t('filed_in', :scope => 'refinery.blog.posts.show') %> <%=raw categories.collect { |category| link_to category.title, refinery.blog_category_path(category) }.to_sentence %> |