mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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