Sha256: 89514f131ab1f398f3bc4c1ec5b87d7d2c47c70ed91c721e91bb9c9fb654a75f
Contents?: true
Size: 755 Bytes
Versions: 10
Compression:
Stored size: 755 Bytes
Contents
- if show_action - url = (polymorphic_path([*controller_namespace, resource]) rescue nil) || (polymorphic_path(resource) rescue nil) %a{href: (url || '#'), title: 'Show'} %span.glyphicon.glyphicon-eye-open - if edit_action - url = (edit_polymorphic_path([*controller_namespace, resource]) rescue nil) || (edit_polymorphic_path(resource) rescue nil) %a{href: (url || '#'), title: 'Edit'} %span.glyphicon.glyphicon-edit - if destroy_action - url = (polymorphic_path([*controller_namespace, resource]) rescue nil) || (polymorphic_path(resource) rescue nil) %a{href: (polymorphic_path([*controller_namespace, resource]) rescue '#'), title: 'Delete', data: {method: :delete, confirm: 'Are you sure?'}} %span.glyphicon.glyphicon-trash
Version data entries
10 entries across 10 versions & 1 rubygems