Skip to content

Commit

Permalink
Merge branch 'master' of github.com:huacnlee/quora
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Apr 3, 2011
2 parents 0e61836 + a133ac5 commit 23ea50a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/logs_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8
class LogsController < ApplicationController
def index
@per_page = 10
@per_page = 20
@logs = Log.desc("$natural").paginate(:page => params[:page], :per_page => @per_page)
end
end

0 comments on commit 23ea50a

Please sign in to comment.