From ec17c9cd9bc8ff85cb4b6ac0ce2233186d950994 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com>
Date: Thu, 6 Jul 2023 17:02:44 +0200
Subject: [PATCH] clean

---
 app/models/communication/website/page.rb | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/app/models/communication/website/page.rb b/app/models/communication/website/page.rb
index df0648114..0cdbfd1fe 100644
--- a/app/models/communication/website/page.rb
+++ b/app/models/communication/website/page.rb
@@ -91,10 +91,6 @@ class Communication::Website::Page < ApplicationRecord
     "admin/communication/websites/pages/static"
   end
 
-  def menu_items
-    Communication::Website::Menu::Item.where(website: website, kind: :page, about: self)
-  end
-
   def dependencies
     calculated_dependencies = active_storage_blobs + blocks
     # children are used only if there is no block to display
-- 
GitLab