Sha256: 6a1a14ab798d0cfd7340e9889ea49e925ecf3fde84e00e3b9601acaa4f376d4e
Contents?: true
Size: 705 Bytes
Versions: 1
Compression:
Stored size: 705 Bytes
Contents
- Array(local_assigns[:resource_name] ? resource.public_send(resource_name) : resource).each do |resource| - resource_to_s = (local_assigns[:resource_to_s] ? resource.public_send(resource_to_s) : resource.to_s) .col-resource_item - if edit_action && EffectiveDatatables.authorized?(controller, :edit, resource) && (path = effective_resource.action_path(:edit, resource)).present? = link_to resource_to_s, path, title: resource_to_s - elsif show_action && EffectiveDatatables.authorized?(controller, :show, resource) && (path = effective_resource.action_path(:show, resource)).present? = link_to resource_to_s, path, title: resource_to_s - else = resource_to_s.html_safe
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
effective_datatables-4.7.3 | app/views/effective/datatables/_resource_column.html.haml |