Include association used to render events
This commit is contained in:
committed by
Mike Dalessio
parent
a764a08863
commit
ee85c25672
@@ -70,6 +70,7 @@ class User::DayTimeline
|
||||
|
||||
def timelineable_events
|
||||
Event
|
||||
.includes(:creator, :board, :eventable)
|
||||
.where(board: boards)
|
||||
.where(action: TIMELINEABLE_ACTIONS)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user