fix merge request form

This commit is contained in:
Cyril 2012-08-25 00:22:45 +02:00
parent 6d4ae75f54
commit 2b38f51a17

View file

@ -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