diff options
author | Philip Arndt <parndt@gmail.com> | 2012-02-22 23:38:07 -0800 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-02-22 23:38:07 -0800 |
commit | aa729edc8495598693d758ad77608293e8be43c9 (patch) | |
tree | 04e9bc7ee831d704948bab718f0df8ecd4ad0326 | |
parent | 5440fad815b060f10892516ec97286d8dc4c3f80 (diff) | |
parent | c37461cc433150b40495cc70a095a970c62994ac (diff) | |
download | refinerycms-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.rb | 1 |
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?(\/|\/.+?|)$" ) |