Commit 8d65f51e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #1295 from jouve/fix_mr_form

fix merge request form
parents df2433db 2b38f51a
...@@ -103,10 +103,12 @@ class MergeRequestsController < ApplicationController ...@@ -103,10 +103,12 @@ class MergeRequestsController < ApplicationController
def branch_from def branch_from
@commit = project.commit(params[:ref]) @commit = project.commit(params[:ref])
@commit = CommitDecorator.decorate(@commit)
end end
def branch_to def branch_to
@commit = project.commit(params[:ref]) @commit = project.commit(params[:ref])
@commit = CommitDecorator.decorate(@commit)
end end
protected protected
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment