Sha256: 405ed10139372a6ac1fb3ddd116a448279f2563b978515410985e299251a6b13
Contents?: true
Size: 660 Bytes
Versions: 9
Compression:
Stored size: 660 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: 'Audit' col :notification_date, label: 'Date of Notification' 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.completed.where(user: current_user) end end
Version data entries
9 entries across 9 versions & 1 rubygems