db/seeds.rb in mcms_pages-0.0.1 vs db/seeds.rb in mcms_pages-0.0.2
- old
+ new
@@ -76,12 +76,14 @@
if Page.where(:link_url => "/").empty?
home_page = Page.create!({
:title => "Home",
- :link_url => "/home",
- :layout_id => "1"
+ :link_url => "/",
+ :layout_id => "1",
+ :show_in_menu => "1",
+ :published => "1"
})
home_page.page_parts.create({
@@ -97,10 +99,10 @@
})
home_page.page_parts.create({
- :title => "main Body",
+ :title => "main body",
:body => "<p>Welcome to our site. This is just a place holder page while we gather our content.</p>"
})