Skip to content
Browse files

loading 25 on first page

  • Loading branch information...
1 parent 1076c63 commit c9d751b22a9b0d58d8e084296278bff869ace6f0 @arunagw committed Apr 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/tweets_controller.rb
View
2 app/controllers/tweets_controller.rb
@@ -2,7 +2,7 @@ class TweetsController < ApplicationController
def index
- @tweets = (@redis.lrange(tweet_key, 0, -1).collect{|a| JSON.parse(a)}).paginate(:page => params[:page], :per_page => 10)
+ @tweets = (@redis.lrange(tweet_key, 0, -1).collect{|a| JSON.parse(a)}).paginate(:page => params[:page], :per_page => 25)
@users = highscore_lb.leaders(1)
end

0 comments on commit c9d751b

Please sign in to comment.
Something went wrong with that request. Please try again.