Skip to content

Commit

Permalink
Add registration time column to registrations table
Browse files Browse the repository at this point in the history
Closes #652
  • Loading branch information
msathieu authored and TomNaessens committed Mar 17, 2024
1 parent 6d032a5 commit d755341
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/grids/registrations_grid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit d755341

Please sign in to comment.