diff --git a/lib/tasks/app.rake b/lib/tasks/app.rake index 4ec8f8748672906191b67a6f99e0ce9dd31f6287..1da5718b4a666a4aa5f8e4ec5ae30107496d8116 100644 --- a/lib/tasks/app.rake +++ b/lib/tasks/app.rake @@ -21,6 +21,9 @@ namespace :app do } Communication::Website::Post.find_each { |post| post.update(text: post.old_text) + } + Communication::Website::Page.find_each { |page| + page.update(text: page.old_text) } Communication::Website::Medium.find_each { |medium| medium.send(:set_featured_images)