fix decorate calls on collections after draper update
This commit is contained in:
parent
520f02259c
commit
6aead7991f
6 changed files with 15 additions and 14 deletions
|
@ -13,7 +13,7 @@ class CommitsController < ProjectResourceController
|
|||
@limit, @offset = (params[:limit] || 40), (params[:offset] || 0)
|
||||
|
||||
@commits = @repo.commits(@ref, @path, @limit, @offset)
|
||||
@commits = CommitDecorator.decorate(@commits)
|
||||
@commits = CommitDecorator.decorate_collection(@commits)
|
||||
|
||||
respond_to do |format|
|
||||
format.html # index.html.erb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue