Browse Source

for to each

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
e994aca04a
  1. 2
      db/seeds.rb

2
db/seeds.rb

@ -10,7 +10,7 @@ admin.confirmed_at = Time.now
admin.save!
admin.confirm!
for name in Settings.host_domains
Settings.host_domains.each do |name|
entrydns_org = Domain.new(:name => name, :type => 'NATIVE', :user_id => admin.id)
entrydns_org.setup(admin.email)
entrydns_org.save!

Loading…
Cancel
Save