12 lines
179 B
Ruby
12 lines
179 B
Ruby
|
class BaseObserver < ActiveRecord::Observer
|
||
|
protected
|
||
|
|
||
|
def notification
|
||
|
NotificationService.new
|
||
|
end
|
||
|
|
||
|
def log_info message
|
||
|
Gitlab::AppLogger.info message
|
||
|
end
|
||
|
end
|