projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ccd7882
)
Revert "Increase the size of the diary RSS feed temporarily"
author
Tom Hughes
<tom@compton.nu>
Mon, 16 Jan 2012 17:50:23 +0000
(17:50 +0000)
committer
Tom Hughes
<tom@compton.nu>
Mon, 16 Jan 2012 17:50:23 +0000
(17:50 +0000)
This reverts commit
ccd7882bcfdda436e1b89422a96026ce328c261b
.
app/controllers/diary_entry_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/diary_entry_controller.rb
b/app/controllers/diary_entry_controller.rb
index 61194f655538cbfd41d67c3044b92aac48ba3332..ff1976a823e6e763ca5fe3cddc72e75b21c72580 100644
(file)
--- 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(
50
0)
+ @entries = DiaryEntry.includes(:user).order("created_at DESC").limit(
2
0)
if params[:display_name]
user = User.active.find_by_display_name(params[:display_name])