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 | 103 | |
| 104 | 104 | def branch_from |
| 105 | 105 | @commit = project.commit(params[:ref]) |
| 106 | + @commit = CommitDecorator.decorate(@commit) | |
| 106 | 107 | end |
| 107 | 108 | |
| 108 | 109 | def branch_to |
| 109 | 110 | @commit = project.commit(params[:ref]) |
| 111 | + @commit = CommitDecorator.decorate(@commit) | |
| 110 | 112 | end |
| 111 | 113 | |
| 112 | 114 | protected | ... | ... |