12 lines
237 B
Ruby
12 lines
237 B
Ruby
module User::Timelined
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
has_many :accessible_events, through: :collections, source: :events
|
|
end
|
|
|
|
def timeline_for(day, filter:)
|
|
User::DayTimeline.new(self, day, filter)
|
|
end
|
|
end
|