[Fix #1735] Sign the admin account creation email

This commit is contained in:
gregoirenovel 2018-05-31 18:07:19 +02:00
parent 6992bea141
commit 41e8350cbe
7 changed files with 12 additions and 9 deletions

View file

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