Avoid recreating service too often
This commit is contained in:
parent
eafd0e8348
commit
33f29f35ab
3 changed files with 2 additions and 28 deletions
|
@ -223,10 +223,6 @@ class Dossier < ApplicationRecord
|
|||
end
|
||||
end
|
||||
|
||||
def get_value(table, column)
|
||||
DossierFieldService.new.get_value(self, table, column)
|
||||
end
|
||||
|
||||
def owner_name
|
||||
if etablissement.present?
|
||||
etablissement.entreprise_raison_sociale
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue