lib/avo/fields/has_base_field.rb in avo-3.0.1.beta19 vs lib/avo/fields/has_base_field.rb in avo-3.0.1.beta20

- old
+ new

@@ -35,11 +35,11 @@ end def frame_url Avo::Services::URIService.parse(field_resource.record_path) .append_path(id.to_s) - .append_query(turbo_frame: turbo_frame) + .append_query(query_params) .to_s end # The value def field_value @@ -96,9 +96,16 @@ end end def default_name use_resource&.name || super + end + + def query_params + { + turbo_frame: turbo_frame, + view: view + } end private def frame_id