AvisController: clean unused variable
This commit is contained in:
parent
1f7b6ce2c6
commit
c4dfe34c4a
1 changed files with 0 additions and 1 deletions
|
@ -96,7 +96,6 @@ module NewGestionnaire
|
|||
sign_in(gestionnaire, scope: :gestionnaire)
|
||||
|
||||
Avis.link_avis_to_gestionnaire(gestionnaire)
|
||||
avis = Avis.find(params[:id])
|
||||
redirect_to url_for(gestionnaire_avis_index_path)
|
||||
else
|
||||
flash[:alert] = gestionnaire.errors.full_messages
|
||||
|
|
Loading…
Reference in a new issue