aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--db/seeds.rb2
1 files changed, 1 insertions, 1 deletions
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