Commit d4bfacc3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix MR observer

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 45e6abff
class MergeRequestObserver < ActivityObserver class MergeRequestObserver < BaseObserver
observe :merge_request
def after_create(merge_request) def after_create(merge_request)
event_service.open_mr(merge_request, current_user) event_service.open_mr(merge_request, current_user)
notification.new_merge_request(merge_request, current_user) notification.new_merge_request(merge_request, current_user)
......
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