use simple decorate on single commits
This commit is contained in:
parent
6aead7991f
commit
dbcf4144ee
1 changed files with 2 additions and 2 deletions
|
@ -94,12 +94,12 @@ class MergeRequestsController < ProjectResourceController
|
|||
|
||||
def branch_from
|
||||
@commit = @repository.commit(params[:ref])
|
||||
@commit = CommitDecorator.decorate_collection(@commit)
|
||||
@commit = CommitDecorator.decorate(@commit)
|
||||
end
|
||||
|
||||
def branch_to
|
||||
@commit = @repository.commit(params[:ref])
|
||||
@commit = CommitDecorator.decorate_collection(@commit)
|
||||
@commit = CommitDecorator.decorate(@commit)
|
||||
end
|
||||
|
||||
def ci_status
|
||||
|
|
Loading…
Reference in a new issue