correctif(manager#dossiers/show): preload un dossier sur le manager
This commit is contained in:
parent
c9bde31ef2
commit
720056e844
1 changed files with 4 additions and 0 deletions
|
@ -25,5 +25,9 @@ module Manager
|
|||
def paginate_resources(_resources)
|
||||
super.without_count
|
||||
end
|
||||
|
||||
def find_resource(param)
|
||||
DossierPreloader.load_one(Dossier.find(param))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue