X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ccd7882bcfdda436e1b89422a96026ce328c261b..35273947f09dd8f4e06bdef536815f358d7ae608:/app/controllers/diary_entry_controller.rb?ds=sidebyside 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])