Merge pull request #600 from sgmap/remove_useless_facade
DossierController: remove useless facade
This commit is contained in:
commit
7b45704137
1 changed files with 1 additions and 3 deletions
|
@ -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.'
|
||||
|
|
Loading…
Reference in a new issue