refactor instructeur_avis_url
This commit is contained in:
parent
b0cfb2c02a
commit
4839506374
9 changed files with 14 additions and 14 deletions
|
@ -6,7 +6,7 @@ module DossierLinkHelper
|
|||
else
|
||||
avis = dossier.avis.find_by(instructeur: user)
|
||||
if avis.present?
|
||||
instructeur_avis_path(avis)
|
||||
instructeur_avis_path(avis.procedure, avis)
|
||||
end
|
||||
end
|
||||
elsif user.owns_or_invite?(dossier)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue