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

- old
+ new

@@ -35,13 +35,10 @@ def new query = @authorization.apply_policy @attachment_class @options = query.all.map do |model| - { - value: model.id, - label: model.send(@attachment_resource.class.title) - } + [model.send(@attachment_resource.class.title), model.id] end end def create if reflection_class == "HasManyReflection"