Add feature delete for draft procedure

This commit is contained in:
Xavier J 2016-06-20 17:37:04 +02:00
parent 86e26e520c
commit 1dcb29ec65
9 changed files with 77 additions and 34 deletions

View file

@ -4,7 +4,7 @@ class Gestionnaire < ActiveRecord::Base
has_and_belongs_to_many :administrateurs
has_many :assign_to
has_many :assign_to, dependent: :destroy
has_many :procedures, through: :assign_to
has_many :dossiers, through: :procedures