From d75534115d3636f342f7ed7c34d6edf6f9231db3 Mon Sep 17 00:00:00 2001 From: Mathieu Strypsteen Date: Wed, 19 Apr 2023 20:05:35 +0200 Subject: [PATCH] Add registration time column to registrations table Closes #652 --- app/grids/registrations_grid.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/grids/registrations_grid.rb b/app/grids/registrations_grid.rb index b6edf276..abf707e1 100644 --- a/app/grids/registrations_grid.rb +++ b/app/grids/registrations_grid.rb @@ -17,6 +17,9 @@ class RegistrationsGrid column(:name) column(:email) + column(:created_at) do |registration| + registration.created_at.to_formatted_s(:long) + end column(:access_level, header: "Ticket", order: proc { |scope| scope.joins(:access_level).order("access_levels.name") }) do |registration|