Skip to content
Snippets Groups Projects
Commit 5f43da70 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

oops

parent 75b5b01d
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ namespace :app do
desc 'Fix things'
task fix: :environment do
Communication::Website::Post.find_each do |post|
post.text_new = clean_for_summernote post.text
post.update text_new: clean_for_summernote(post.text)
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment