Sha256: 17e525e67bb70a3314c9974abbd53e599a1aa6c1afdc1fbf09ec9bbd46ca2a00
Contents?: true
Size: 638 Bytes
Versions: 21
Compression:
Stored size: 638 Bytes
Contents
# Displays cpd audits for this auditee user class EffectiveCpdCompletedAuditsDatatable < Effective::Datatable datatable do order :notification_date col :token, visible: false col :cpd_audit_level, label: cpd_audit_level_label col :notification_date col :status col :determination actions_col(actions: []) do |cpd_audit| dropdown_link_to('Show', effective_cpd.cpd_audit_build_path(cpd_audit, cpd_audit.last_completed_step || :start)) end end collection do raise('expected a current_user') unless current_user.present? EffectiveCpd.CpdAudit.done.where(user: current_user) end end
Version data entries
21 entries across 21 versions & 1 rubygems