Sha256: f16bef3a13b15af9a2785fce3d33f77092dcf24e94ca4564a5824702aa4649aa
Contents?: true
Size: 590 Bytes
Versions: 5
Compression:
Stored size: 590 Bytes
Contents
paginated_collection(versions, display_total: false, download_links: false) do table_for(versions, i18n: ::PaperTrail::Version, class: "index_table") do column(:id) column(:whodunnit) do |record| record.send(ActiveAdminVersioning.configuration.whodunnit_attribute_name).presence || t("views.version.unknown_user") end column(:event, :event_i18n) column(:item_type, :item_class_i18n) column(:object) do |record| record.item_instance ? attributes_table_for(record.item_instance, *record.item_column_names) : nil end column(:created_at) end end
Version data entries
5 entries across 5 versions & 1 rubygems