Sha256: 2fca86eb1f9d9bebf802b2b8c3caefabb44ce97bb85ec83e2adeea3c3577a88b
Contents?: true
Size: 703 Bytes
Versions: 7
Compression:
Stored size: 703 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: (url || '#'), title: 'Delete', data: {method: :delete, confirm: 'Are you sure?'}} %span.glyphicon.glyphicon-trash
Version data entries
7 entries across 7 versions & 1 rubygems