summaryrefslogtreecommitdiff
path: root/app/services/pages/delete_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/pages/delete_service.rb')
-rw-r--r--app/services/pages/delete_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/pages/delete_service.rb b/app/services/pages/delete_service.rb
index d4de6bb750d..7408943e78c 100644
--- a/app/services/pages/delete_service.rb
+++ b/app/services/pages/delete_service.rb
@@ -4,7 +4,7 @@ module Pages
class DeleteService < BaseService
def execute
project.remove_pages
- project.pages_domains.destroy_all # rubocop: disable DestroyAll
+ project.pages_domains.destroy_all # rubocop: disable Cop/DestroyAll
end
end
end