diff options
author | Pete Higgins <pete@peterhiggins.org> | 2012-02-10 00:28:29 -0800 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2012-02-10 01:05:51 -0800 |
commit | 80187eac7d35a9a5ac67019a317e678c4445e44e (patch) | |
tree | 32627b15dd6f95edc468b5579a27e4bd246e669c /app/views | |
parent | 1af631b501bbd8457d114805f729e8af59edeeee (diff) | |
download | refinerycms-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.erb | 6 |
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> |