aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2012-02-10 00:28:29 -0800
committerPete Higgins <pete@peterhiggins.org>2012-02-10 01:05:51 -0800
commit80187eac7d35a9a5ac67019a317e678c4445e44e (patch)
tree32627b15dd6f95edc468b5579a27e4bd246e669c /app/views
parent1af631b501bbd8457d114805f729e8af59edeeee (diff)
downloadrefinerycms-blog-80187eac7d35a9a5ac67019a317e678c4445e44e.tar.gz
refinerycms-blog-80187eac7d35a9a5ac67019a317e678c4445e44e.tar.bz2
refinerycms-blog-80187eac7d35a9a5ac67019a317e678c4445e44e.zip
Refactor blog archive widget.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/refinery/blog/widgets/_blog_archive.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/refinery/blog/widgets/_blog_archive.html.erb b/app/views/refinery/blog/widgets/_blog_archive.html.erb
index 7679a5b..b3522c6 100644
--- a/app/views/refinery/blog/widgets/_blog_archive.html.erb
+++ b/app/views/refinery/blog/widgets/_blog_archive.html.erb
@@ -2,9 +2,9 @@
<h2><%= t('archives', :scope => 'refinery.blog.shared') %></h2>
<nav>
<ul>
- <% posts.each do |post| %>
- <li><%= archive_link(post) %></li>
+ <% links.each do |link| %>
+ <li><%= link %></li>
<% end %>
</ul>
</nav>
-</section> \ No newline at end of file
+</section>