Merge pull request #4313 from maatinito/issue/unable_to_reinvite_admin
[fix #4311] Unable to reinvite admin
This commit is contained in:
commit
703c436c61
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ module Manager
|
|||
end
|
||||
|
||||
def reinvite
|
||||
Administrateur.find_inactive_by_id(params[:id]).invite!(current_administration.id)
|
||||
Administrateur.find_inactive_by_id(params[:id]).user.invite_administrateur!(current_administration.id)
|
||||
flash.notice = "Invitation renvoyée"
|
||||
redirect_to manager_administrateur_path(params[:id])
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue