From fb8f05ee165b4da8aec0e4adf48992a86052ab04 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sun, 27 Nov 2011 10:37:37 +0200 Subject: [PATCH] activity events reduced to 20 from 40 --- app/controllers/projects_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 76018e444b1..a11ad08dc65 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -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