From d108f9c5df98e18b6e2971e24461746e31c89004 Mon Sep 17 00:00:00 2001 From: Shaun Date: Mon, 2 Jan 2012 15:39:38 -0800 Subject: use new syntax for config accessors --- 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 8046c87..bd273ea 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -14,7 +14,7 @@ if defined?(Refinery::Page) :menu_match => "^/blogs?(\/|\/.+?|)$" ) - Refinery::Page.default_parts.each do |default_page_part| + Refinery::Pages.config.default_parts.each do |default_page_part| page.parts.create(:title => default_page_part, :body => nil) end end -- cgit v1.2.3