From b89e559e08ae89eabd00db06f5f0fa0b05de85e4 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Wed, 14 Aug 2019 15:22:25 +0200 Subject: [PATCH] suite --- app/models/customer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/customer.rb b/app/models/customer.rb index 2bbe41c..d09ce9e 100755 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -22,7 +22,7 @@ class Customer < ActiveRecord::Base has_many :domains, :through => :domain_customers has_many :domain_customers, :dependent => :destroy - has_many :reseaux_customers + has_many :reseaux_customers, :dependent => :destroy has_many :reseauxes, :through => :reseaux_customers has_many :own_reseauxes, :class_name => "Reseaux", :foreign_key => :chef_reseau_id