Skip to content
Snippets Groups Projects
Unverified Commit df25260d authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

no async but after save

parent e4a627f5
No related branches found
No related tags found
No related merge requests found
......@@ -122,5 +122,4 @@ class Communication::Website::Imported::Page < ApplicationRecord
end
page.update(text: rich_text_with_attachments(page.text.to_s))
end
handle_asynchronously :sync_attachments, queue: 'default'
end
......@@ -124,5 +124,4 @@ class Communication::Website::Imported::Post < ApplicationRecord
end
post.update(text: rich_text_with_attachments(post.text.to_s))
end
handle_asynchronously :sync_attachments, queue: 'default'
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