From bab7d6d09f04e4bb3c37fd4d42692a690518b8eb Mon Sep 17 00:00:00 2001 From: friflaj Date: Wed, 21 Apr 2010 21:47:12 +0200 Subject: [PATCH] Wiki page importing --- lib/tasks/import_project.rake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tasks/import_project.rake b/lib/tasks/import_project.rake index 0186aa40ce..dce5c81785 100644 --- a/lib/tasks/import_project.rake +++ b/lib/tasks/import_project.rake @@ -266,7 +266,9 @@ class Importer if wiki_page wiki = @project.wiki page = wiki.find_or_new_page(page_tag) + page.content = WikiContent.new page.content.text = s['wiki'] + page.save! end end