test/dummy/config/initializers/themes/default.rb in spina-0.6.29 vs test/dummy/config/initializers/themes/default.rb in spina-0.7.0
- old
+ new
@@ -12,10 +12,18 @@
page_partable_type: "Spina::Text"
}, {
name: "structure",
title: "Structuur",
page_partable_type: "Spina::Structure"
+ }, {
+ name: 'photo',
+ title: "Foto",
+ page_partable_type: "Spina::Photo"
+ }, {
+ name: 'photo_collection',
+ title: "Foto collection",
+ page_partable_type: "Spina::PhotoCollection"
}]
self.structures = {
'structure' => [{
name: 'name',
@@ -38,10 +46,10 @@
},
'show' => {
title: 'Default',
description: 'A simple page',
usage: 'Use for your content',
- page_parts: ['content', 'structure']
+ page_parts: ['content', 'structure', 'photo', 'photo_collection']
}
}
self.custom_pages = [
{ name: 'homepage', title: 'Homepage', deletable: false, view_template: 'homepage' }