Fix error in views/blog/posts/_post, looping over tag_list, should loop over tags
This commit is contained in:
parent
6ce56a33a0
commit
66d35b52f7
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
<%=raw categories.collect { |category| link_to category.title, blog_category_url(category) }.to_sentence %>
|
||||
</aside>
|
||||
<% end %>
|
||||
<% if (tags = post.tag_list).any? %>
|
||||
<% if (tags = post.tags).any? %>
|
||||
<aside class='tagged'>
|
||||
<%= t('tagged', :scope => 'blog.posts.show') %>
|
||||
<%=raw tags.collect { |tag| link_to tag, tagged_posts_path(tag.id, tag.name.parameterize) }.to_sentence %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue