FIX: welcome topic should be uncategorized

This commit is contained in:
Neil Lalonde 2014-02-24 14:27:21 -05:00
parent 3151f59bc9
commit 3690a24f7f
1 changed files with 1 additions and 1 deletions

View File

@ -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