Skip to content
Snippets Groups Projects
Unverified Commit 2a7bc7aa authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

fix

parent 8086d9c6
No related branches found
No related tags found
Loading
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment