Commit 2b38f51a17464537b9e4110917868bc9c1b1950a
1 parent
6d4ae75f
Exists in
master
and in
4 other branches
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 |