diff --git a/app/controllers/backoffice/dossiers_controller.rb b/app/controllers/backoffice/dossiers_controller.rb index 0c153122d..61d3fdc16 100644 --- a/app/controllers/backoffice/dossiers_controller.rb +++ b/app/controllers/backoffice/dossiers_controller.rb @@ -95,9 +95,7 @@ class Backoffice::DossiersController < Backoffice::DossiersListController end def receive - create_dossier_facade params[:dossier_id] - - dossier = @facade.dossier + dossier = Dossier.find(params[:dossier_id]) dossier.received! flash.notice = 'Dossier considéré comme reçu.'