aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorGlenn Goodrich <glenn.goodrich@gmail.com>2011-06-25 11:51:27 -0400
committerGlenn Goodrich <glenn.goodrich@gmail.com>2011-06-25 11:51:27 -0400
commit66d35b52f7fce8e44828124a40dfbf2cd079e56c (patch)
treee206b87545d171f683ea0669aafa60f2c20d3bc7 /app/views
parent6ce56a33a02bc14f22362847121cc9f4fe63bb3b (diff)
downloadrefinerycms-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.erb2
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 %>