app/controllers/avo/relations_controller.rb in avo-1.4.4.pre.1 vs app/controllers/avo/relations_controller.rb in avo-1.4.4

- old
+ new

@@ -15,10 +15,10 @@ def index @parent_resource = @resource.dup @resource = @related_resource @parent_model = @parent_resource.model_class.find(params[:id]) @parent_resource.hydrate(model: @parent_model) - @query = @authorization.apply_policy @parent_model.public_send(params[:related_name]) + @query = @parent_model.public_send(params[:related_name]) super end def show