Commit fb8f05ee authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

activity events reduced to 20 from 40

parent 32ebd438
...@@ -66,7 +66,7 @@ class ProjectsController < ApplicationController ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment