mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 11:32:24 -05:00
11 lines
270 B
Ruby
11 lines
270 B
Ruby
|
module ConfigurableUrls
|
||
|
|
||
|
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
|