aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrice Sanchez <bricesanchez@users.noreply.github.com>2016-06-10 08:54:15 -0400
committerGitHub <noreply@github.com>2016-06-10 08:54:15 -0400
commitfcce6f6176d0e11f0ad65d7d1f477c02d6b1a4a4 (patch)
tree9f33c5a6d7223d1fbaf20bd036b9b0a93c284fbe
parent23cc7c07b4248dd7e9ca161e4e673a7071636c80 (diff)
downloadrefinerycms-blog-fcce6f6176d0e11f0ad65d7d1f477c02d6b1a4a4.tar.gz
refinerycms-blog-fcce6f6176d0e11f0ad65d7d1f477c02d6b1a4a4.tar.bz2
refinerycms-blog-fcce6f6176d0e11f0ad65d7d1f477c02d6b1a4a4.zip
Update default_page_part title and slug in seedHEADmaster
#460
-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