Skip to content
Snippets Groups Projects
Commit 47372a7b authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Clean categories

parent 038d6dd3
No related branches found
Tags v2.1.2
No related merge requests found
......@@ -25,9 +25,9 @@
#
class Communication::Website::Permalink < ApplicationRecord
MAPPING = {
"Communication::Website::Post::Category" => Communication::Website::Permalink::Category,
"Communication::Website::Page" => Communication::Website::Permalink::Page,
"Communication::Website::Post" => Communication::Website::Permalink::Post,
"Communication::Website::Post::Category" => Communication::Website::Permalink::Category,
"Communication::Website::Agenda::Event" => Communication::Website::Permalink::Agenda::Event,
"Communication::Website::Agenda::Category" => Communication::Website::Permalink::Agenda::Category,
"Education::Diploma" => Communication::Website::Permalink::Diploma,
......
......@@ -29,7 +29,7 @@ class Communication::Website::Permalink::Category < Communication::Website::Perm
end
def self.static_config_key
:categories
:posts_categories
end
# /actualites/:slug/
......
......@@ -13,7 +13,6 @@
taxonomies:
administrator: administrators
author: authors
category: categories
posts_category: posts_categories
events_category: events_categories
diploma: diplomas
......
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