diff options
Diffstat (limited to 'app/services/pages/delete_service.rb')
-rw-r--r-- | app/services/pages/delete_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/pages/delete_service.rb b/app/services/pages/delete_service.rb index 95e99daeb6c..dcee4c5b665 100644 --- a/app/services/pages/delete_service.rb +++ b/app/services/pages/delete_service.rb @@ -21,7 +21,8 @@ module Pages def publish_deleted_event event = Pages::PageDeletedEvent.new(data: { project_id: project.id, - namespace_id: project.namespace_id + namespace_id: project.namespace_id, + root_namespace_id: project.root_namespace.id }) Gitlab::EventStore.publish(event) |