Permalink
Browse files

One more populate fix

  • Loading branch information...
1 parent d5b3269 commit b118a04f4b0a6a07243c7b623cac2d1a941c5481 @CasEbbers CasEbbers committed Apr 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 defaults/db/seeds.rb
View
@@ -11,6 +11,6 @@
root_section.node.update_attributes!(:layout => "default", :layout_variant => 'default', :layout_configuration => {'template_color'=>'default'})
# Create an admin
-u = User.create!(:login => 'webmaster', :email_address => "webmaster@example.com", :password => 'admin', :password_confirmation => 'admin')
+u = PrivilegedUser.create!(:login => 'webmaster', :email_address => "webmaster@example.com", :password => 'admin', :password_confirmation => 'admin')
u.update_attribute(:verified, true)
u.give_role_on('admin', Node.root)

0 comments on commit b118a04

Please sign in to comment.