Gestionnaire: move instruction_avis_path to instruction_gestionnaire_avis_path

This commit is contained in:
simon lehericey 2018-02-21 13:42:12 +01:00
parent bdce6aff2e
commit c58b32a26d
4 changed files with 7 additions and 7 deletions

View file

@ -34,7 +34,7 @@ module NewGestionnaire
def update
avis.update_attributes(avis_params)
flash.notice = 'Votre réponse est enregistrée.'
redirect_to instruction_avis_path(avis)
redirect_to instruction_gestionnaire_avis_path(avis)
end
def messagerie
@ -56,7 +56,7 @@ module NewGestionnaire
def create_avis
confidentiel = avis.confidentiel || params[:avis][:confidentiel]
Avis.create(create_avis_params.merge(claimant: current_gestionnaire, dossier: avis.dossier, confidentiel: confidentiel))
redirect_to instruction_avis_path(avis)
redirect_to instruction_gestionnaire_avis_path(avis)
end
def sign_up