Commit 8d65f51e635ae84dd19b361a2cf9fb1ef2c2014b

Authored by Dmitriy Zaporozhets
2 parents df2433db 2b38f51a

Merge pull request #1295 from jouve/fix_mr_form

fix merge request form
Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
app/controllers/merge_requests_controller.rb
@@ -103,10 +103,12 @@ class MergeRequestsController < ApplicationController @@ -103,10 +103,12 @@ class MergeRequestsController < ApplicationController
103 103
104 def branch_from 104 def branch_from
105 @commit = project.commit(params[:ref]) 105 @commit = project.commit(params[:ref])
  106 + @commit = CommitDecorator.decorate(@commit)
106 end 107 end
107 108
108 def branch_to 109 def branch_to
109 @commit = project.commit(params[:ref]) 110 @commit = project.commit(params[:ref])
  111 + @commit = CommitDecorator.decorate(@commit)
110 end 112 end
111 113
112 protected 114 protected