app/components/avo/actions_component.rb in avo-2.32.3 vs app/components/avo/actions_component.rb in avo-2.32.4
- old
+ new
@@ -51,15 +51,17 @@
!on_record_page?
end
def single_record_path(id)
Avo::Services::URIService.parse(@resource.record_path)
- .append_paths("actions", id)
+ .append_paths("actions")
+ .append_query("action_id": id)
.to_s
end
def many_records_path(id)
Avo::Services::URIService.parse(@resource.records_path)
- .append_paths("actions", id)
+ .append_paths("actions")
+ .append_query("action_id": id)
.to_s
end
end