fix annotations n+1
This commit is contained in:
parent
cbdb32d191
commit
0223eabcce
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ module Types
|
||||||
end
|
end
|
||||||
|
|
||||||
def annotations
|
def annotations
|
||||||
Loaders::Association.for(object.class, :champs_private).load(object)
|
Loaders::Association.for(object.class, champs_private: [:type_de_champ]).load(object)
|
||||||
end
|
end
|
||||||
|
|
||||||
def pdf
|
def pdf
|
||||||
|
|
Loading…
Reference in a new issue