Add flash when procedure is whitelisted
This commit is contained in:
parent
1ebaab51de
commit
f772adc582
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ module Manager
|
|||
def whitelist
|
||||
procedure = Procedure.find(params[:id])
|
||||
procedure.whitelist!
|
||||
flash[:notice] = "Procédure whitelistée."
|
||||
redirect_to manager_procedure_path(procedure)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue