diff options
author | Shaun <shaun@enmasse.com> | 2012-01-02 15:39:38 -0800 |
---|---|---|
committer | Shaun <shaun@enmasse.com> | 2012-01-02 15:39:38 -0800 |
commit | d108f9c5df98e18b6e2971e24461746e31c89004 (patch) | |
tree | a3b5beda1d3bc02d83edc3de285326cea7ae6633 | |
parent | 5e650f6800fc06ea7644ba726fa85a223608a14a (diff) | |
download | refinerycms-blog-d108f9c5df98e18b6e2971e24461746e31c89004.tar.gz refinerycms-blog-d108f9c5df98e18b6e2971e24461746e31c89004.tar.bz2 refinerycms-blog-d108f9c5df98e18b6e2971e24461746e31c89004.zip |
use new syntax for config accessors
-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 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 |