mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
FIX: welcome topic should be uncategorized
This commit is contained in:
parent
3151f59bc9
commit
3690a24f7f
1 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,6 @@ if Topic.where('id NOT IN (SELECT topic_id from categories where topic_id is not
|
|||
PostCreator.create(Discourse.system_user, raw: welcome, title: "Discourse Admin Quick Start Guide" ,skip_validations: true)
|
||||
|
||||
welcome = File.read(Rails.root + 'docs/WELCOME-TO-DISCOURSE.md')
|
||||
post = PostCreator.create(Discourse.system_user, category: 'Meta', raw: welcome, title: "Welcome to Discourse", skip_validations: true)
|
||||
post = PostCreator.create(Discourse.system_user, raw: welcome, title: "Welcome to Discourse", skip_validations: true)
|
||||
post.topic.update_pinned(true)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue