mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
better admin quick start guide
This commit is contained in:
@@ -7,7 +7,7 @@ if Topic.where('id NOT IN (SELECT topic_id from categories where topic_id is not
|
||||
|
||||
staff = Category.where(id: SiteSetting.staff_category_id).first
|
||||
welcome = File.read(Rails.root + 'docs/ADMIN-QUICK-START-GUIDE.md')
|
||||
PostCreator.create(Discourse.system_user, raw: welcome, title: "Discourse Admin Quick Start Guide", skip_validations: true, category: staff ? staff.name : nil)
|
||||
PostCreator.create(Discourse.system_user, raw: welcome, title: "READ ME FIRST: Admin Quick Start Guide", skip_validations: true, category: staff ? staff.name : nil)
|
||||
PostCreator.create(Discourse.system_user, raw: I18n.t('assets_topic_body'), title: "Assets for the forum design", skip_validations: true, category: staff ? staff.name : nil)
|
||||
|
||||
welcome = File.read(Rails.root + 'docs/WELCOME-TO-DISCOURSE.md')
|
||||
|
||||
Reference in New Issue
Block a user