summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril <jv.cyril@gmail.com>2012-08-25 00:22:45 +0200
committerCyril <jv.cyril@gmail.com>2012-08-25 00:22:45 +0200
commit2b38f51a17464537b9e4110917868bc9c1b1950a (patch)
tree25bf0d0eb6029f6a6a3dd2bfae26012fc6cdb62e
parent6d4ae75f544d9819954865c105414a722344336a (diff)
downloadgitlab-ce-2b38f51a17464537b9e4110917868bc9c1b1950a.tar.gz
fix merge request form
-rw-r--r--app/controllers/merge_requests_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/merge_requests_controller.rb b/app/controllers/merge_requests_controller.rb
index 4938a294f60..187bb407b2d 100644
--- a/app/controllers/merge_requests_controller.rb
+++ b/app/controllers/merge_requests_controller.rb
@@ -103,10 +103,12 @@ class MergeRequestsController < ApplicationController
def branch_from
@commit = project.commit(params[:ref])
+ @commit = CommitDecorator.decorate(@commit)
end
def branch_to
@commit = project.commit(params[:ref])
+ @commit = CommitDecorator.decorate(@commit)
end
protected