diff --git a/app/models/communication/website/category.rb b/app/models/communication/website/category.rb index e029f89a5ed402b3b1f1ef0c68e010d820f80cff..0211ad17295ebc8962d808d00e1ed08e9341f053 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