aboutsummaryrefslogtreecommitdiffstats
path: root/db/seeds.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/seeds.rb')
-rw-r--r--db/seeds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
index 271b044..5ceb7f3 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -14,6 +14,6 @@ if defined?(Refinery::Page) and !Refinery::Page.exists?(:link_url => (url = Refi
)
Refinery::Pages.default_parts.each_with_index do |default_page_part, index|
- page.parts.create(:title => default_page_part, :body => nil, :position => index)
+ page.parts.create(:title => default_page_part[:title], :slug => default_page_part[:slug], :body => nil, :position => index)
end
end