gitlabhq/app/observers/base_observer.rb
2013-03-26 18:11:38 +02:00

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