gitlabhq/app/observers/note_observer.rb

6 lines
101 B
Ruby
Raw Normal View History

class NoteObserver < BaseObserver
def after_create(note)
notification.new_note(note)
end
end