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".
This commit is contained in:
jwood7423
2022-09-11 19:34:13 +01:00
committed by GitHub
parent 10cb97dbd5
commit f55c4525e2

View File

@@ -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