DossierController: remove useless facade

This commit is contained in:
Simon Lehericey 2017-07-13 15:38:57 +02:00
parent 926b723d80
commit a1ddcb6d34

View file

@ -95,9 +95,7 @@ class Backoffice::DossiersController < Backoffice::DossiersListController
end end
def receive def receive
create_dossier_facade params[:dossier_id] dossier = Dossier.find(params[:dossier_id])
dossier = @facade.dossier
dossier.received! dossier.received!
flash.notice = 'Dossier considéré comme reçu.' flash.notice = 'Dossier considéré comme reçu.'