activity events reduced to 20 from 40
This commit is contained in:
parent
32ebd438c2
commit
fb8f05ee16
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class ProjectsController < ApplicationController
|
||||||
|
|
||||||
def show
|
def show
|
||||||
return render "projects/empty" unless @project.repo_exists?
|
return render "projects/empty" unless @project.repo_exists?
|
||||||
limit = (params[:limit] || 40).to_i
|
limit = (params[:limit] || 20).to_i
|
||||||
@activities = @project.updates(limit)
|
@activities = @project.updates(limit)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue