Commit dbcf4144 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

use simple decorate on single commits

parent 6aead799
...@@ -94,12 +94,12 @@ class MergeRequestsController < ProjectResourceController ...@@ -94,12 +94,12 @@ class MergeRequestsController < ProjectResourceController
def branch_from def branch_from
@commit = @repository.commit(params[:ref]) @commit = @repository.commit(params[:ref])
@commit = CommitDecorator.decorate_collection(@commit) @commit = CommitDecorator.decorate(@commit)
end end
def branch_to def branch_to
@commit = @repository.commit(params[:ref]) @commit = @repository.commit(params[:ref])
@commit = CommitDecorator.decorate_collection(@commit) @commit = CommitDecorator.decorate(@commit)
end end
def ci_status def ci_status
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment