Merge pull request #2134 from betagouv/useless-method
Remove an unused method
This commit is contained in:
commit
44e75d27b1
1 changed files with 0 additions and 27 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue