Sha256: 99072d563a5f3226a1d5b4a4080649c70bc4d528307dfcb6b7b3fedc3516dd12

Contents?: true

Size: 601 Bytes

Versions: 11

Compression:

Stored size: 601 Bytes

Contents

- if show_path
  - if show_action == true || (EffectiveDatatables.authorized?(controller, :show, resource) rescue false)
    = show_icon_to send(show_path, resource.to_param)

- if edit_path
  - if edit_action == true || (EffectiveDatatables.authorized?(controller, :edit, resource) rescue false)
    = edit_icon_to send(edit_path, resource.to_param)

- if destroy_path
  - if destroy_action == true || (EffectiveDatatables.authorized?(controller, :destroy, resource) rescue false)
    = destroy_icon_to send(destroy_path, resource.to_param), data: { method: :delete, confirm: "Delete #{resource}?" }

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
effective_datatables-3.3.6 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.5 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.4 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.3 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.2 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.1 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.3.0 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.2.7 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.2.6 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.2.5 app/views/effective/datatables/_actions_column.html.haml
effective_datatables-3.2.4 app/views/effective/datatables/_actions_column.html.haml