You're viewing Avo 2 docs — go to Avo 4

Skip to content

use_resource

Sets a different resource to be used when displaying (or redirecting to) the association table.

Default ​

nil. When nothing is selected, Avo infers the resource type from the reflected association.

Possible values ​

PostResource, PhotoCommentResource, or any Avo resource class.