Method: AuditLog.action_options
- Defined in:
- lib/audit-log.rb
.action_options ⇒ Object
Get I18n action name options for select
57 58 59 |
# File 'lib/audit-log.rb', line 57 def I18n.t('audit_log.action').map { |k, v| [v, k.to_s] } end |