aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/seeds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
index bd273ea..d603553 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -5,7 +5,7 @@ Refinery::User.find(:all).each do |user|
end
end if defined?(Refinery::User)
-if defined?(Refinery::Page)
+if defined?(Refinery::Page) and !Refinery::Page.exists?(:link_url => '/blog')
page = Refinery::Page.create(
:title => "Blog",
:link_url => "/blog",