diff options
author | Glenn Goodrich <glenn.goodrich@gmail.com> | 2011-06-25 11:51:27 -0400 |
---|---|---|
committer | Glenn Goodrich <glenn.goodrich@gmail.com> | 2011-06-25 11:51:27 -0400 |
commit | 66d35b52f7fce8e44828124a40dfbf2cd079e56c (patch) | |
tree | e206b87545d171f683ea0669aafa60f2c20d3bc7 /app/views | |
parent | 6ce56a33a02bc14f22362847121cc9f4fe63bb3b (diff) | |
download | refinerycms-blog-66d35b52f7fce8e44828124a40dfbf2cd079e56c.tar.gz refinerycms-blog-66d35b52f7fce8e44828124a40dfbf2cd079e56c.tar.bz2 refinerycms-blog-66d35b52f7fce8e44828124a40dfbf2cd079e56c.zip |
Fix error in views/blog/posts/_post, looping over tag_list, should loop over tags
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/blog/shared/_post.html.erb | 2 |
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 4750ef8..2281691 100644 --- a/app/views/blog/shared/_post.html.erb +++ b/app/views/blog/shared/_post.html.erb @@ -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 %> |