mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-22 13:32:26 -05:00
15 lines
No EOL
376 B
Ruby
15 lines
No EOL
376 B
Ruby
module ConfigurableUrls
|
|
|
|
def faq_path
|
|
SiteSetting.faq_url.blank? ? "#{Discourse::base_uri}/faq" : SiteSetting.faq_url
|
|
end
|
|
|
|
def tos_path
|
|
SiteSetting.tos_url.blank? ? "#{Discourse::base_uri}/tos" : SiteSetting.tos_url
|
|
end
|
|
|
|
def privacy_path
|
|
SiteSetting.privacy_policy_url.blank? ? "#{Discourse::base_uri}/privacy" : SiteSetting.privacy_policy_url
|
|
end
|
|
|
|
end |