mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Terms of Service v1.0.0
Co-authored-by: Gerhard Schlager <mail@gerhard-schlager.at>
This commit is contained in:
committed by
Gerhard Schlager
parent
52a5a5983a
commit
15e793fd3b
@@ -26,10 +26,12 @@ unless Rails.env.test?
|
||||
end
|
||||
end
|
||||
|
||||
create_static_page_topic('tos_topic_id', 'tos_topic.title', "tos_topic.body", nil, staff, "terms of service", company_domain: "company_domain",
|
||||
company_full_name: "company_full_name",
|
||||
company_name: "company_short_name",
|
||||
base_path: Discourse.base_path)
|
||||
create_static_page_topic('tos_topic_id', 'tos_topic.title', "tos_topic.body", nil, staff, "terms of service",
|
||||
company_name: SiteSetting.company_name.presence || "company_name",
|
||||
base_url: Discourse.base_url,
|
||||
contact_email: SiteSetting.contact_email.presence || "contact_email",
|
||||
governing_law: SiteSetting.governing_law.presence || "governing_law",
|
||||
city_for_disputes: SiteSetting.city_for_disputes.presence || "city_for_disputes")
|
||||
|
||||
create_static_page_topic('guidelines_topic_id', 'guidelines_topic.title', "guidelines_topic.body", nil, staff, "guidelines", base_path: Discourse.base_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user