diff options
author | Cyril <jv.cyril@gmail.com> | 2012-08-25 00:22:45 +0200 |
---|---|---|
committer | Cyril <jv.cyril@gmail.com> | 2012-08-25 00:22:45 +0200 |
commit | 2b38f51a17464537b9e4110917868bc9c1b1950a (patch) | |
tree | 25bf0d0eb6029f6a6a3dd2bfae26012fc6cdb62e | |
parent | 6d4ae75f544d9819954865c105414a722344336a (diff) | |
download | gitlab-ce-2b38f51a17464537b9e4110917868bc9c1b1950a.tar.gz |
fix merge request form
-rw-r--r-- | app/controllers/merge_requests_controller.rb | 2 |
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 |