From fcce6f6176d0e11f0ad65d7d1f477c02d6b1a4a4 Mon Sep 17 00:00:00 2001 From: Brice Sanchez Date: Fri, 10 Jun 2016 08:54:15 -0400 Subject: Update default_page_part title and slug in seed #460 --- db/seeds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db') diff --git a/db/seeds.rb b/db/seeds.rb index 271b044..5ceb7f3 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -14,6 +14,6 @@ if defined?(Refinery::Page) and !Refinery::Page.exists?(:link_url => (url = Refi ) Refinery::Pages.default_parts.each_with_index do |default_page_part, index| - page.parts.create(:title => default_page_part, :body => nil, :position => index) + page.parts.create(:title => default_page_part[:title], :slug => default_page_part[:slug], :body => nil, :position => index) end end -- cgit v1.2.3