From f55c4525e2245f87f2f5d8bd4c9a236d059cf652 Mon Sep 17 00:00:00 2001 From: jwood7423 <113276461+jwood7423@users.noreply.github.com> Date: Sun, 11 Sep 2022 19:34:13 +0100 Subject: [PATCH] Added `api:` to the list of META_WIKIS As of right now, api wiki pages are categorized as "general" when they should be categorized as "meta". --- app/models/wiki_page.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb index 58b19eb65..dec26e130 100644 --- a/app/models/wiki_page.rb +++ b/app/models/wiki_page.rb @@ -3,7 +3,7 @@ class WikiPage < ApplicationRecord class RevertError < StandardError; end - META_WIKIS = ["list_of_", "tag_group:", "pool_group:", "howto:", "about:", "help:", "template:"] + META_WIKIS = ["list_of_", "tag_group:", "pool_group:", "howto:", "about:", "help:", "template:","api:"] after_save :create_version