lib/generators/maglev/section_generator.rb in maglevcms-1.1.7 vs lib/generators/maglev/section_generator.rb in maglevcms-1.2.0
- old
+ new
@@ -107,10 +107,10 @@
def default
case type
when 'text' then label
when 'image' then '"/theme/image-placeholder.jpg"'
when 'checkbox' then true
- when 'link' then '{ text: "Link", url: "#" }'
+ when 'link' then '{ text: "Link", href: "#" }'
when 'color' then '#E5E7EB'
when 'radio', 'select' then 'option_1'
when 'icon' then 'default-icon-class'
when 'collection_item' then 'any'
end