mirror of
https://ghfast.top/https://github.com/discourse/discourse-docs.git
synced 2026-05-21 00:04:00 +08:00
After internal discussion, the team decided to rename this plugin to `discourse-docs`. No substantial changes made here aside from a settings migration.
7 lines
116 B
Ruby
7 lines
116 B
Ruby
# frozen_string_literal: true
|
|
|
|
class DocsConstraint
|
|
def matches?(_request)
|
|
SiteSetting.docs_enabled
|
|
end
|
|
end
|