Merge pull request #600 from sgmap/remove_useless_facade

DossierController: remove useless facade
This commit is contained in:
LeSim 2017-07-17 14:03:11 +02:00 committed by GitHub
commit 7b45704137

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.'