Merge pull request #3330 from betagouv/fix-sentry-97
[Fix Sentry 97] pass a string to flash instead of array
This commit is contained in:
commit
8995908eb4
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module Manager
|
|||
flash.notice = "Administrateur créé"
|
||||
redirect_to manager_demandes_path
|
||||
else
|
||||
flash.now.alert = administrateur.errors.full_messages
|
||||
flash.now.alert = administrateur.errors.full_messages.to_sentence
|
||||
@pending_demandes = pending_demandes
|
||||
render :index
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue