Sha256: ca90aedcd6339aec406e265ebdc080bfd918ba37f91ac8c517c35221b04421d7
Contents?: true
Size: 528 Bytes
Versions: 8
Compression:
Stored size: 528 Bytes
Contents
- Array(datatable.array_collection? ? resource : resource.send(name)).each do |resource| .col-resource_item - if edit_action && EffectiveDatatables.authorized?(controller, :edit, resource) = link_to resource.to_s, effective_resource.action_path(:edit, resource), title: resource.to_s - elsif show_action && EffectiveDatatables.authorized?(controller, :show, resource) = link_to resource.to_s, effective_resource.action_path(:show, resource), title: resource.to_s - else = resource.to_s.html_safe
Version data entries
8 entries across 8 versions & 1 rubygems