This commit is contained in:
Nicolas Bally 2019-08-14 15:22:25 +02:00
parent 11ee7df123
commit b89e559e08

View File

@ -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