Files
fizzy/app/models/user/timelined.rb
T
2025-04-24 12:28:16 +02:00

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