From 433281b0435866576a9021251e1a3f99cb890f46 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Mon, 30 Jan 2023 09:23:15 +0100
Subject: [PATCH] fix special pages

---
 app/models/communication/website/page/education_program.rb | 4 ++++
 app/models/communication/website/page/home.rb              | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/models/communication/website/page/education_program.rb b/app/models/communication/website/page/education_program.rb
index f60446052..74fd9b653 100644
--- a/app/models/communication/website/page/education_program.rb
+++ b/app/models/communication/website/page/education_program.rb
@@ -53,6 +53,10 @@ class Communication::Website::Page::EducationProgram < Communication::Website::P
     true
   end
 
+  def full_width
+    true
+  end
+
   protected
   
   def current_git_path
diff --git a/app/models/communication/website/page/home.rb b/app/models/communication/website/page/home.rb
index 0d19444b5..5e4ee047a 100644
--- a/app/models/communication/website/page/home.rb
+++ b/app/models/communication/website/page/home.rb
@@ -41,10 +41,6 @@
 #
 class Communication::Website::Page::Home < Communication::Website::Page
 
-  def editable_width?
-    false
-  end
-
   def full_width_by_default?
     true
   end
-- 
GitLab