use simple decorate on single commits

This commit is contained in:
Dmitriy Zaporozhets 2013-03-01 15:35:22 +02:00
parent 6aead7991f
commit dbcf4144ee

View file

@ -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