Merge pull request #9478 from mfo/US/fix-manager-dossier-show
correctif(manager#dossiers/show): ETQ superadmin, l'affichage d'un dossier pouvait timeouter car non préloadé
This commit is contained in:
commit
2e2782c8b0
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