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

Fix #491

parent 24957e51
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ class Communication::Website::Page < ApplicationRecord
page = self.dup
page.published = false
page.save
blocks.each do |block|
blocks.ordered.each do |block|
b = block.duplicate
b.about = page
b.save
......
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