mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 06:07:00 +08:00
Can change TOS content via site content editor
This commit is contained in:
@ -54,6 +54,10 @@ module ApplicationHelper
|
||||
result
|
||||
end
|
||||
|
||||
def markdown_content(key, replacements=nil)
|
||||
PrettyText.cook(SiteContent.content_for(key, replacements || {})).html_safe
|
||||
end
|
||||
|
||||
def faq_path
|
||||
return "#{Discourse::base_uri}/faq"
|
||||
end
|
||||
|
Reference in New Issue
Block a user