DossierController: remove useless facade
This commit is contained in:
parent
926b723d80
commit
a1ddcb6d34
1 changed files with 1 additions and 3 deletions
|
@ -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.'
|
||||||
|
|
Loading…
Reference in a new issue