mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-26 04:56:16 +10:00
use simple decorate on single commits
This commit is contained in:
@@ -94,12 +94,12 @@ class MergeRequestsController < ProjectResourceController
|
||||
|
||||
def branch_from
|
||||
@commit = @repository.commit(params[:ref])
|
||||
@commit = CommitDecorator.decorate_collection(@commit)
|
||||
@commit = CommitDecorator.decorate(@commit)
|
||||
end
|
||||
|
||||
def branch_to
|
||||
@commit = @repository.commit(params[:ref])
|
||||
@commit = CommitDecorator.decorate_collection(@commit)
|
||||
@commit = CommitDecorator.decorate(@commit)
|
||||
end
|
||||
|
||||
def ci_status
|
||||
|
||||
Reference in New Issue
Block a user