Avis: show

This commit is contained in:
Simon Lehericey 2017-09-06 11:26:32 +02:00
parent 3cc09c98f9
commit a1f9f7aa75
5 changed files with 76 additions and 1 deletions

View file

@ -18,5 +18,16 @@ module NewGestionnaire
@avis_donnes
end
end
def show
@avis = avis
@dossier = avis.dossier
end
private
def avis
current_gestionnaire.avis.includes(dossier: [:avis]).find(params[:id])
end
end
end