diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/seeds.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/seeds.rb b/db/seeds.rb index ebc06e7..eee5a4b 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -14,7 +14,7 @@ if defined?(Refinery::Page) and !Refinery::Page.exists?(:link_url => '/blog') :menu_match => "^/blogs?(\/|\/.+?|)$" ) - Refinery::Pages.config.default_parts.each do |default_page_part| + Refinery::Pages.default_parts.each do |default_page_part| page.parts.create(:title => default_page_part, :body => nil) end end |