activity events reduced to 20 from 40

This commit is contained in:
Dmitriy Zaporozhets 2011-11-27 10:37:37 +02:00
parent 32ebd438c2
commit fb8f05ee16
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class ProjectsController < ApplicationController
def show
return render "projects/empty" unless @project.repo_exists?
limit = (params[:limit] || 40).to_i
limit = (params[:limit] || 20).to_i
@activities = @project.updates(limit)
end