Bootstrap: Activities
This commit is contained in:
parent
15b06b0164
commit
0a4222fb98
26 changed files with 324 additions and 365 deletions
|
@ -68,7 +68,8 @@ class ProjectsController < ApplicationController
|
|||
|
||||
def show
|
||||
return render "projects/empty" unless @project.repo_exists? && @project.has_commits?
|
||||
limit = (params[:limit] || 20).to_i
|
||||
limit = (params[:limit] || 10).to_i
|
||||
|
||||
@activities = @project.activities(limit)#updates_wo_repo(limit)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue