diff --git a/app/controllers/administrateurs/types_de_champ_controller.rb b/app/controllers/administrateurs/types_de_champ_controller.rb index bfe2b3f9f..93a4ad744 100644 --- a/app/controllers/administrateurs/types_de_champ_controller.rb +++ b/app/controllers/administrateurs/types_de_champ_controller.rb @@ -1,7 +1,6 @@ module Administrateurs class TypesDeChampController < AdministrateurController - before_action :retrieve_procedure, only: [:create, :update, :move, :move_up, :move_down, :destroy] - before_action :procedure_revisable?, only: [:create, :update, :move, :move_up, :move_down, :destroy] + before_action :retrieve_procedure, :procedure_revisable? def create type_de_champ = @procedure.draft_revision.add_type_de_champ(type_de_champ_create_params)