Remove an unused method

This commit is contained in:
gregoirenovel 2018-06-20 18:30:41 +02:00
parent 42133f5b85
commit 3c331b65a5

View file

@ -152,33 +152,6 @@ class Gestionnaire < ApplicationRecord
private
def valid_couple_table_attr?(table, column)
couples = [
{
table: :dossier,
column: :dossier_id
},
{
table: :procedure,
column: :libelle
},
{
table: :etablissement,
column: :siret
},
{
table: :entreprise,
column: :raison_sociale
},
{
table: :dossier,
column: :state
}
]
couples.include?({ table: table, column: column })
end
def annotations_hash(demande, annotations_privees, avis, messagerie)
{
demande: demande,