Sha256: 9b2a3e744338ba48a481d1371f0c08db11b1c62c9e58a906d742c3a4842278f7

Contents?: true

Size: 464 Bytes

Versions: 2

Compression:

Stored size: 464 Bytes

Contents

:ruby
  show_path =
    if datatables_active_admin_path?
      admin_effective_trash_path(trash)
    elsif datatables_admin_path?
      effective_logging.admin_trash_path(trash)
    else
      effective_logging.trash_path(trash)
    end

= link_to show_path, title: 'view' do
  %span.glyphicon.glyphicon-eye-open

= link_to effective_logging.restore_trash_path(trash), title: 'Restore', data: {confirm: 'Restore this item?'} do
  %span.glyphicon.glyphicon-retweet

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
effective_logging-1.7.1 app/views/admin/trash/_actions.html.haml
effective_logging-1.7.0 app/views/admin/trash/_actions.html.haml