Skip to content

Commit 4be00c0

Browse files
nbudinclaude
andcommitted
Import navbar_classes on CMS layouts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3c6d944 commit 4be00c0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/services/import_convention_data_service.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def import_cms_layouts(convention)
117117
(data[:cms_layouts] || []).each_with_object({}) do |layout_data, map|
118118
layout = convention.cms_layouts.find_or_initialize_by(name: layout_data[:name])
119119
layout.content = layout_data[:content]
120+
layout.navbar_classes = layout_data[:navbar_classes]
120121
layout.save!
121122
map[layout_data[:name]] = layout
122123
end

0 commit comments

Comments
 (0)