diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-01 15:35:22 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-01 15:35:22 +0200 |
commit | dbcf4144ee4da9670efa26f2297d11291823d949 (patch) | |
tree | 62334aa2538f82b65304ae64ac5109359db57c36 /app/controllers | |
parent | 6aead7991f93c63e23fd96677a1c499ebca2155f (diff) | |
download | gitlab-ce-dbcf4144ee4da9670efa26f2297d11291823d949.tar.gz |
use simple decorate on single commits
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/merge_requests_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/merge_requests_controller.rb b/app/controllers/merge_requests_controller.rb index 9992e9b81e0..788f2c3a5cd 100644 --- a/app/controllers/merge_requests_controller.rb +++ b/app/controllers/merge_requests_controller.rb @@ -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 |