lib/shinmun/routes.rb in shinmun-0.9.1 vs lib/shinmun/routes.rb in shinmun-0.9.2

- old
+ new

@@ -24,10 +24,10 @@ :month => month.to_i, :posts => posts_by_date[year.to_i][month.to_i].values) end feed '/index\.rss' do - render 'index.rxml', :layout => false + render 'index.rxml', :layout => false, :posts => posts[0, 20] end index '/$' do render 'index.rhtml', :posts => posts[0, 20] end