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

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