diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/generators/refinery_blog/templates/db/seeds/seed.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generators/refinery_blog/templates/db/seeds/seed.rb b/lib/generators/refinery_blog/templates/db/seeds/seed.rb index 72648d3..f958fab 100644 --- a/lib/generators/refinery_blog/templates/db/seeds/seed.rb +++ b/lib/generators/refinery_blog/templates/db/seeds/seed.rb @@ -1,5 +1,5 @@ User.find(:all).each do |user| - user.plugins.create(:name => "<%= singular_name %>", + user.plugins.create(:name => "refinerycms_blog", :position => (user.plugins.maximum(:position) || -1) +1) end |