Open nemp opened 14 years ago
When I go to the "News" page, I have:
ArgumentError in Newsitems#index
Showing app/views/layouts/shared/_archive.html.erb where line #11 raised:
invalid date
Extracted source (around line #11):
8: 9: <% dates.group_by { |m| m.created_at.strftime('%B')}.each do |month, items| %> 10:
11: <%= link_to "#{month} (#{items.size})", archive_link(@page, Date.parse(month).month, year) %> 12:
13: <% end -%> 14:
When I go to the "News" page, I have:
ArgumentError in Newsitems#index
Showing app/views/layouts/shared/_archive.html.erb where line #11 raised:
invalid date
Extracted source (around line #11):
8: 9: <% dates.group_by { |m| m.created_at.strftime('%B')}.each do |month, items| %> 10:
11: <%= link_to "#{month} (#{items.size})", archive_link(@page, Date.parse(month).month, year) %> 12:
13: <% end -%> 14: