Update views to use CommitDecorator
This commit is contained in:
parent
ff40b7de7a
commit
34cea1cb63
11 changed files with 28 additions and 19 deletions
|
@ -17,6 +17,7 @@ class CommitsController < ApplicationController
|
|||
@limit, @offset = (params[:limit] || 40), (params[:offset] || 0)
|
||||
|
||||
@commits = @project.commits(@ref, params[:path], @limit, @offset)
|
||||
@commits = CommitDecorator.decorate(@commits)
|
||||
|
||||
respond_to do |format|
|
||||
format.html # index.html.erb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue