ccdf08d80a
* Add system note when user merges MR in same way as it closes it * Remove duplicating code
10 lines
230 B
Ruby
10 lines
230 B
Ruby
module MergeRequests
|
|
class BaseMergeService < MergeRequests::BaseService
|
|
|
|
private
|
|
|
|
def create_merge_event(merge_request, current_user)
|
|
EventCreateService.new.merge_mr(merge_request, current_user)
|
|
end
|
|
end
|
|
end
|