app/components/avo/actions_component.rb in avo-3.11.6 vs app/components/avo/actions_component.rb in avo-3.11.7
- old
+ new
@@ -82,10 +82,10 @@
label = action.label.is_a?(Hash) ? action.label[:label] : nil
render Avo::DividerComponent.new(label)
end
def render_action_link(action)
- link_to action.link_arguments(resource: @resource).first,
+ link_to action.link_arguments(resource: @resource, arguments: action.arguments).first,
data: action_data_attributes(action),
title: action.action_name,
class: action_css_class(action) do
raw("#{icon(action)} #{action.action_name}")
end