aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2012-02-22 23:38:07 -0800
committerPhilip Arndt <parndt@gmail.com>2012-02-22 23:38:07 -0800
commitaa729edc8495598693d758ad77608293e8be43c9 (patch)
tree04e9bc7ee831d704948bab718f0df8ecd4ad0326
parent5440fad815b060f10892516ec97286d8dc4c3f80 (diff)
parentc37461cc433150b40495cc70a095a970c62994ac (diff)
downloadrefinerycms-blog-aa729edc8495598693d758ad77608293e8be43c9.tar.gz
refinerycms-blog-aa729edc8495598693d758ad77608293e8be43c9.tar.bz2
refinerycms-blog-aa729edc8495598693d758ad77608293e8be43c9.zip
Merge pull request #202 from substantial/fix_seeds
Remove position setting from blog seed.
-rw-r--r--db/seeds.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
index eee5a4b..91018db 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -10,7 +10,6 @@ if defined?(Refinery::Page) and !Refinery::Page.exists?(:link_url => '/blog')
:title => "Blog",
:link_url => "/blog",
:deletable => false,
- :position => ((Refinery::Page.maximum(:position, :conditions => {:parent_id => nil}) || -1)+1),
:menu_match => "^/blogs?(\/|\/.+?|)$"
)