Files
discourse/lib/configurable_urls.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
253 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module ConfigurableUrls
2013-06-27 12:10:43 -04:00
def faq_path
SiteSetting.faq_url.presence || "#{Discourse.base_path}/faq"
2013-06-27 12:10:43 -04:00
end
def tos_url
Discourse.tos_url
end
def privacy_policy_url
Discourse.privacy_policy_url
end
2015-04-24 13:10:43 -04:00
end