Move events index datatable row to a partial
- clean up columns - tag unregistered submitters & speakers - implement caching
This commit is contained in:
parent
0d4c9e32cf
commit
a2ed9c0074
7 changed files with 84 additions and 54 deletions
|
|
@ -2,6 +2,6 @@ class EventUser < ApplicationRecord
|
|||
# TODO: Do we need these roles?
|
||||
ROLES = [%w[Speaker speaker], %w[Submitter submitter], %w[Moderator moderator]]
|
||||
|
||||
belongs_to :event
|
||||
belongs_to :event, touch: true
|
||||
belongs_to :user
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue