Prepare to remove dossier procedure_id
This commit is contained in:
parent
4af64d2bc1
commit
c4896b45ad
6 changed files with 4 additions and 55 deletions
|
@ -46,7 +46,7 @@ class Champs::SiretController < ApplicationController
|
|||
@champ = policy_scope(Champ).find(params[:champ_id])
|
||||
@etablissement = @champ&.etablissement
|
||||
end
|
||||
@procedure_id = @champ&.dossier&.procedure_id || 'aperçu'
|
||||
@procedure_id = @champ&.dossier&.procedure&.id || 'aperçu'
|
||||
end
|
||||
|
||||
def find_etablissement_with_siret
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue