Skip to content

Commit

Permalink
fixes first part of Issue sf-wdi-25#2 - link now going to correct month
Browse files Browse the repository at this point in the history
  • Loading branch information
anonym0us3 committed Feb 5, 2016
1 parent f3d3c7e commit e5d381b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<% sidebar.archives.each do |month| %>
<% counter = sidebar.show_count ? "<em>(#{month[:article_count]})</em>" : "" %>
<li>
<%= link_to"#{month[:name]} #{counter}".html_safe, articles_by_month_path( month[:year], "%02i" % (month[:month]+1) ) %>
<%= link_to"#{month[:name]} #{counter}".html_safe, articles_by_month_path( month[:year], "%02i" % (month[:month]) ) %>
</li>
<% end %>
</ul>
Expand Down

0 comments on commit e5d381b

Please sign in to comment.