Sha256: 846292913625e6c9e938c15d79568a7be116f7fc963ae01d0398201427e20478

Contents?: true

Size: 493 Bytes

Versions: 14

Compression:

Stored size: 493 Bytes

Contents

- if show_action && EffectiveDatatables.authorized?(self, :show, resource)
  = show_icon_to effective_resource.action_path(:show, resource)

- if edit_action && EffectiveDatatables.authorized?(self, :edit, resource)
  = edit_icon_to effective_resource.action_path(:edit, resource)

- if destroy_action && EffectiveDatatables.authorized?(self, :destroy, resource)
  = destroy_icon_to effective_resource.action_path(:destroy, resource), data: { method: :delete, confirm: "Delete #{resource}?" }

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
effective_datatables-3.4.4 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.4.3 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.4.2 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-4.0.0 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.4.1 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.4.0 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.14 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.13 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.12 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.11 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.10 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.9 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.8 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.7 app/views/effective/datatables/_actions_column.html.haml