debian-mirror-gitlab/app/services/notes/delete_service.rb

9 lines
138 B
Ruby
Raw Normal View History

2016-06-02 11:05:42 +05:30
module Notes
class DeleteService < BaseService
def execute(note)
note.destroy
note.reset_events_cache
end
end
end