gitlabhq/app/observers/base_observer.rb
2013-03-26 19:00:54 +02:00

9 lines
166 B
Ruby

class BaseObserver < ActiveRecord::Observer
def notification
NotificationService.new
end
def log_info message
Gitlab::AppLogger.info message
end
end