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

Merge branch 'main' of github.com:noesya/osuny

parents 5598d46a a48f92f0
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ class ContentMigration
puts "----------------------[migration] #{object} - #{object.class} - #{object.id}"
heading = nil
heading_position = 0
object.blocks.each do |block|
object.blocks.published.each do |block|
# ignore blocks already inside headings
next if block.heading.present?
# Move title from block to heading
......
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