From 3369743d6c29f8e495d75ae64e96d42ce35e7643 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 16 Jan 2012 17:50:23 +0000 Subject: [PATCH 1/1] Revert "Increase the size of the diary RSS feed temporarily" This reverts commit ccd7882bcfdda436e1b89422a96026ce328c261b. --- app/controllers/diary_entry_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/diary_entry_controller.rb b/app/controllers/diary_entry_controller.rb index 61194f655..ff1976a82 100644 --- a/app/controllers/diary_entry_controller.rb +++ b/app/controllers/diary_entry_controller.rb @@ -140,7 +140,7 @@ class DiaryEntryController < ApplicationController end def rss - @entries = DiaryEntry.includes(:user).order("created_at DESC").limit(500) + @entries = DiaryEntry.includes(:user).order("created_at DESC").limit(20) if params[:display_name] user = User.active.find_by_display_name(params[:display_name]) -- 2.43.2