Increase the size of the diary RSS feed temporarily
authorTom Hughes <tom@compton.nu>
Sat, 14 Jan 2012 13:36:49 +0000 (13:36 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 14 Jan 2012 13:36:49 +0000 (13:36 +0000)
app/controllers/diary_entry_controller.rb

index ff1976a..61194f6 100644 (file)
@@ -140,7 +140,7 @@ class DiaryEntryController < ApplicationController
   end
 
   def rss
-    @entries = DiaryEntry.includes(:user).order("created_at DESC").limit(20)
+    @entries = DiaryEntry.includes(:user).order("created_at DESC").limit(500)
 
     if params[:display_name]
       user = User.active.find_by_display_name(params[:display_name])