[Fix Sentry 97] pass a string to flash instead of array
This commit is contained in:
parent
52990d828f
commit
e18f9d9dfa
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module Manager
|
||||||
flash.notice = "Administrateur créé"
|
flash.notice = "Administrateur créé"
|
||||||
redirect_to manager_demandes_path
|
redirect_to manager_demandes_path
|
||||||
else
|
else
|
||||||
flash.now.alert = administrateur.errors.full_messages
|
flash.now.alert = administrateur.errors.full_messages.to_sentence
|
||||||
@pending_demandes = pending_demandes
|
@pending_demandes = pending_demandes
|
||||||
render :index
|
render :index
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue