summaryrefslogtreecommitdiff
path: root/app/observers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-03-25 15:16:12 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-03-25 15:16:12 +0200
commitd4bfacc36524c79516435e34352e8dc15919a118 (patch)
tree73b85a1b8a32e1a2e36a4afea2ed4650674579d0 /app/observers
parent45e6abffb422045dd30c3f1c74dd14186a23741d (diff)
downloadgitlab-ce-d4bfacc36524c79516435e34352e8dc15919a118.tar.gz
Fix MR observer
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/observers')
-rw-r--r--app/observers/merge_request_observer.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/observers/merge_request_observer.rb b/app/observers/merge_request_observer.rb
index dd8dcd4b409..04ee30b4976 100644
--- a/app/observers/merge_request_observer.rb
+++ b/app/observers/merge_request_observer.rb
@@ -1,6 +1,4 @@
-class MergeRequestObserver < ActivityObserver
- observe :merge_request
-
+class MergeRequestObserver < BaseObserver
def after_create(merge_request)
event_service.open_mr(merge_request, current_user)
notification.new_merge_request(merge_request, current_user)