Add task to save pages

This commit is contained in:
chris 2013-02-07 19:08:35 +08:00
parent 82a8f99208
commit d2f837f342
1 changed files with 6 additions and 0 deletions

View File

@ -208,4 +208,10 @@ namespace :migrate do
end end
end end
task :save_pages => :environment do
Page.all.each do |page|
page.save
end
end
end end