Skip to content

Commit dbd6b3a

Browse files
committed
fixes #2 - removed +1 from view
1 parent 91c5ec4 commit dbd6b3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/archives_sidebar/app/views/archives_sidebar/_content.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<% sidebar.archives.each do |month| %>
66
<% counter = sidebar.show_count ? "<em>(#{month[:article_count]})</em>" : "" %>
77
<li>
8-
<%= link_to"#{month[:name]} #{counter}".html_safe, articles_by_month_path( month[:year], "%02i" % (month[:month]+1) ) %>
8+
<%= link_to"#{month[:name]} #{counter}".html_safe, articles_by_month_path( month[:year], "%02i" % (month[:month]) ) %>
99
</li>
1010
<% end %>
1111
</ul>

0 commit comments

Comments
 (0)