rename avis#index to avis#procedure
This commit is contained in:
parent
90d6d337a9
commit
bbec76d33b
6 changed files with 12 additions and 11 deletions
|
@ -15,7 +15,7 @@ module Instructeurs
|
|||
@avis_by_procedure = avis.to_a.group_by(&:procedure)
|
||||
end
|
||||
|
||||
def index
|
||||
def procedure
|
||||
@procedure = Procedure.find(params[:procedure_id])
|
||||
instructeur_avis = current_instructeur.avis.includes(:dossier).where(dossiers: { groupe_instructeur: GroupeInstructeur.where(procedure: @procedure.id) })
|
||||
@avis_a_donner = instructeur_avis.without_answer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue