fix(demarche): always reset outside of transactions
This commit is contained in:
parent
8d89e2aec6
commit
7054c2d9ef
2 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
module Administrateurs
|
||||
class TypesDeChampController < AdministrateurController
|
||||
before_action :retrieve_procedure
|
||||
after_action :reset_procedure, only: [:create, :update, :destroy]
|
||||
after_action :reset_procedure, only: [:create, :update, :destroy, :piece_justificative_template]
|
||||
|
||||
def create
|
||||
type_de_champ = draft.add_type_de_champ(type_de_champ_create_params)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue