mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-01 17:12:11 +08:00
15 lines
253 B
Ruby
15 lines
253 B
Ruby
# frozen_string_literal: true
|
|
|
|
module ConfigurableUrls
|
|
def faq_path
|
|
SiteSetting.faq_url.presence || "#{Discourse.base_path}/faq"
|
|
end
|
|
|
|
def tos_url
|
|
Discourse.tos_url
|
|
end
|
|
|
|
def privacy_policy_url
|
|
Discourse.privacy_policy_url
|
|
end
|
|
end
|