Add task to save pages
This commit is contained in:
parent
82a8f99208
commit
d2f837f342
|
@ -208,4 +208,10 @@ namespace :migrate do
|
|||
end
|
||||
end
|
||||
|
||||
task :save_pages => :environment do
|
||||
Page.all.each do |page|
|
||||
page.save
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Reference in New Issue