summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/development_init.rake6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tasks/development_init.rake b/lib/tasks/development_init.rake
index 00ef83a..cf97cc3 100644
--- a/lib/tasks/development_init.rake
+++ b/lib/tasks/development_init.rake
@@ -28,6 +28,12 @@ namespace :cccms do
28 importer.import_authors 28 importer.import_authors
29 end 29 end
30 30
31 desc "Update authors on pages"
32 task :update_authors_on_pages => :environment do |t|
33 i = ChaosImporter.new("#{RAILS_ROOT}/db/updates")
34 i.update_authors_on_pages
35 end
36
31 desc "Import the old XML Files" 37 desc "Import the old XML Files"
32 task :import_updates => :environment do |t| 38 task :import_updates => :environment do |t|
33 i = ChaosImporter.new("#{RAILS_ROOT}/db/updates") 39 i = ChaosImporter.new("#{RAILS_ROOT}/db/updates")