From 2b38f51a17464537b9e4110917868bc9c1b1950a Mon Sep 17 00:00:00 2001 From: Cyril Date: Sat, 25 Aug 2012 00:22:45 +0200 Subject: [PATCH] fix merge request form --- app/controllers/merge_requests_controller.rb | 2 ++ 1 file changed, 2 insertions(+) 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