Commit dbcf4144ee4da9670efa26f2297d11291823d949
1 parent
6aead799
Exists in
master
and in
4 other branches
use simple decorate on single commits
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/controllers/merge_requests_controller.rb
... | ... | @@ -94,12 +94,12 @@ class MergeRequestsController < ProjectResourceController |
94 | 94 | |
95 | 95 | def branch_from |
96 | 96 | @commit = @repository.commit(params[:ref]) |
97 | - @commit = CommitDecorator.decorate_collection(@commit) | |
97 | + @commit = CommitDecorator.decorate(@commit) | |
98 | 98 | end |
99 | 99 | |
100 | 100 | def branch_to |
101 | 101 | @commit = @repository.commit(params[:ref]) |
102 | - @commit = CommitDecorator.decorate_collection(@commit) | |
102 | + @commit = CommitDecorator.decorate(@commit) | |
103 | 103 | end |
104 | 104 | |
105 | 105 | def ci_status | ... | ... |