Skip to content
Snippets Groups Projects
Commit dbcf4144 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

use simple decorate on single commits

parent 6aead799
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment