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:
@@ -3,7 +3,7 @@
|
|||||||
class WikiPage < ApplicationRecord
|
class WikiPage < ApplicationRecord
|
||||||
class RevertError < StandardError; end
|
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
|
after_save :create_version
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user