summaryrefslogtreecommitdiff
path: root/app/services/notes/destroy_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/notes/destroy_service.rb')
-rw-r--r--app/services/notes/destroy_service.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/services/notes/destroy_service.rb b/app/services/notes/destroy_service.rb
new file mode 100644
index 00000000000..b819bd17039
--- /dev/null
+++ b/app/services/notes/destroy_service.rb
@@ -0,0 +1,7 @@
+module Notes
+ class DestroyService < BaseService
+ def execute(note)
+ note.destroy
+ end
+ end
+end