From 2a7bc7aa0807adb768b3dacaa666088720706055 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com>
Date: Fri, 10 Dec 2021 11:14:58 +0100
Subject: [PATCH] fix

---
 app/models/communication/website/category.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/models/communication/website/category.rb b/app/models/communication/website/category.rb
index e029f89a5..0211ad172 100644
--- a/app/models/communication/website/category.rb
+++ b/app/models/communication/website/category.rb
@@ -84,12 +84,12 @@ class Communication::Website::Category < ApplicationRecord
   def github_manifest
     super << {
       identifier: "collection_item",
-      generated_path: "_data/authors/#{slug}.yml",
+      generated_path: "_data/categories/#{slug}.yml",
       data: -> (github_file) { ApplicationController.render(
-        template: "admin/communication/website/authors/jekyll_collection",
+        template: "admin/communication/website/categories/jekyll_collection",
         formats: [:yml],
         layout: false,
-        assigns: { author: self, github_file: github_file }
+        assigns: { category: self, github_file: github_file }
       ) }
     }
   end
-- 
GitLab