app/components/blacklight/document/actions_component.html.erb in blacklight-7.15.2 vs app/components/blacklight/document/actions_component.html.erb in blacklight-7.16.0
- old
+ new
@@ -1,7 +1,7 @@
<%= content_tag @tag, class: @classes do %>
<% @actions.each do |action| %>
- <% result = capture { @view_context.render((action.component || Blacklight::Document::ActionComponent).new(action: action, document: @document, options: @options, url_opts: @url_opts)) } %>
+ <% result = capture { @view_context.render((action.component || Blacklight::Document::ActionComponent).new(action: action, document: @document, options: @options, url_opts: @url_opts, link_classes: @link_classes)) } %>
<% if @wrapping_tag %>
<%= content_tag(@wrapping_tag, class: Array(@wrapping_classes) + [action.key]) do %>
<%= result %>
<% end %>