commit
8d65f51e63
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue