Sha256: 9555c50a18431b7673a53a429ab24fec911c646bb927a045ac6297f79ecf5e46

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

:ruby
  show_path =
    if datatables_active_admin_path?
      admin_effective_log_path(log)
    elsif datatables_admin_path?
      effective_logging.admin_log_path(log)
    else
      effective_logging.log_path(log)
    end

- if log.logs_count.to_i > 0
  = link_to "View (#{log.logs_count} more)".html_safe, show_path
- else
  = link_to 'View', show_path

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_logging-1.4.0 app/views/admin/logs/_actions.html.haml