fix(expert_procedure): flash once
This commit is contained in:
parent
afa9821edb
commit
f83c565297
1 changed files with 2 additions and 2 deletions
|
@ -45,13 +45,13 @@ module Administrateurs
|
|||
end
|
||||
end
|
||||
|
||||
flash[:notice] = t('.experts_assignment',
|
||||
flash.now[:notice] = t('.experts_assignment',
|
||||
count: valid_users.count,
|
||||
value: valid_users.map(&:email).join(', '),
|
||||
procedure: @procedure.id)
|
||||
end
|
||||
|
||||
flash[:alert] = errors.join(". ") if !errors.empty?
|
||||
flash.now[:alert] = errors.join(". ") if !errors.empty?
|
||||
render :index
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue