<% object = delete_notice %>
  • <%= @abstract_model.pretty_name %> <% wording = object.send(@model_config.object_label_method) %> <% if show_action = action(:show, @abstract_model, object) %> <%= link_to(wording, url_for(action: show_action.action_name, model_name: @abstract_model.to_param, id: object.id), class: 'pjax') %> <% else %> <%= wording %> <% end %>