summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-01 15:35:22 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-01 15:35:22 +0200
commitdbcf4144ee4da9670efa26f2297d11291823d949 (patch)
tree62334aa2538f82b65304ae64ac5109359db57c36 /app/controllers
parent6aead7991f93c63e23fd96677a1c499ebca2155f (diff)
downloadgitlab-ce-dbcf4144ee4da9670efa26f2297d11291823d949.tar.gz
use simple decorate on single commits
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/merge_requests_controller.rb4
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