complete hooks for post receive
This commit is contained in:
parent
57ac5fe99f
commit
473445c76f
7 changed files with 64 additions and 5 deletions
|
@ -68,7 +68,7 @@ class ProjectsController < ApplicationController
|
|||
|
||||
def show
|
||||
return render "projects/empty" unless @project.repo_exists? && @project.has_commits?
|
||||
limit = (params[:limit] || 10).to_i
|
||||
limit = (params[:limit] || 20).to_i
|
||||
@activities = @project.cached_updates(limit)
|
||||
end
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ class RepositoriesController < ApplicationController
|
|||
layout "project"
|
||||
|
||||
def show
|
||||
@activities = @project.fresh_commits(10)
|
||||
@activities = @project.fresh_commits(20)
|
||||
end
|
||||
|
||||
def branches
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue