Add flash when resending invitation

This commit is contained in:
Mathieu Magnin 2018-01-16 16:28:13 +01:00
parent 4f756975c7
commit ef0907db93

View file

@ -15,6 +15,7 @@ module Manager
def update
Administrateur.find_inactive_by_id(params[:id]).invite!
flash.notice = "Invitation renvoyée"
redirect_to manager_administrateur_path(params[:id])
end