diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-02-04 21:22:51 +0200 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-02-04 21:22:51 +0200 |
commit | 34fd7b7b89da669b09cbd910cea109ff106bd85f (patch) | |
tree | 6a61422c88ce095a2ac9ab17a7f1ddf324c9dad7 /db | |
parent | 6cfebfae84491e4aa9aed8f3a7c019431dbb39c0 (diff) | |
download | refinerycms-blog-34fd7b7b89da669b09cbd910cea109ff106bd85f.tar.gz refinerycms-blog-34fd7b7b89da669b09cbd910cea109ff106bd85f.tar.bz2 refinerycms-blog-34fd7b7b89da669b09cbd910cea109ff106bd85f.zip |
Move some of the Refinery::Setting's over to Refinery::Blog.
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 |