From b9ebe894a28fcba733ef4b5524601bbee18589d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com>
Date: Mon, 5 Dec 2022 17:16:40 +0100
Subject: [PATCH] fix

---
 app/models/communication/website/category.rb | 4 ----
 app/models/communication/website/post.rb     | 4 ----
 app/models/university/person.rb              | 4 ----
 3 files changed, 12 deletions(-)

diff --git a/app/models/communication/website/category.rb b/app/models/communication/website/category.rb
index e5a0c4ee2..a805bbd3b 100644
--- a/app/models/communication/website/category.rb
+++ b/app/models/communication/website/category.rb
@@ -124,8 +124,4 @@ class Communication::Website::Category < ApplicationRecord
   def inherited_blob_ids
     [best_featured_image&.blob_id]
   end
-
-  def permalink_config_key
-    :categories
-  end
 end
diff --git a/app/models/communication/website/post.rb b/app/models/communication/website/post.rb
index 0092a6d6e..72f74c321 100644
--- a/app/models/communication/website/post.rb
+++ b/app/models/communication/website/post.rb
@@ -175,8 +175,4 @@ class Communication::Website::Post < ApplicationRecord
     end
     author.update_and_sync(is_author: true) if author_id
   end
-
-  def permalink_config_key
-    :posts
-  end
 end
diff --git a/app/models/university/person.rb b/app/models/university/person.rb
index 0b62f073d..1e7716b6a 100644
--- a/app/models/university/person.rb
+++ b/app/models/university/person.rb
@@ -237,8 +237,4 @@ class University::Person < ApplicationRecord
   def prepare_name
     self.name = to_s
   end
-
-  def permalink_config_key
-    :persons
-  end
 end
-- 
GitLab