mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 13:51:41 +00:00
fix: no crea los sitios #1278
This commit is contained in:
parent
41acc89e37
commit
f546cb902a
1 changed files with 0 additions and 9 deletions
|
@ -16,12 +16,3 @@ licencias.each do |l|
|
||||||
licencia.update l
|
licencia.update l
|
||||||
end
|
end
|
||||||
|
|
||||||
unless Rails.env.test?
|
|
||||||
YAML.safe_load(File.read('db/seeds/sites.yml')).each do |site|
|
|
||||||
site = Site.find_or_create_by name: site['name']
|
|
||||||
|
|
||||||
site.update licencia: Licencia.first, design: Design.first,
|
|
||||||
title: site.name, description: 'x' * 50,
|
|
||||||
deploys: site.deploys.empty? ? [DeployLocal.new] : site.deploys
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
Loading…
Reference in a new issue