Merge pull request #2134 from betagouv/useless-method

Remove an unused method
This commit is contained in:
Mathieu Magnin 2018-06-21 11:43:43 +02:00 committed by GitHub
commit 44e75d27b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,