add motivation field to batch operation accepter
This commit is contained in:
parent
d7ebb67889
commit
1bc0609543
5 changed files with 29 additions and 5 deletions
|
@ -13,7 +13,7 @@ module Instructeurs
|
|||
|
||||
def batch_operation_params
|
||||
params.require(:batch_operation)
|
||||
.permit(:operation, dossier_ids: [])
|
||||
.permit(:operation, :motivation, dossier_ids: [])
|
||||
.merge(instructeur: current_instructeur)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue