mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-23 04:02:19 -05:00
6 lines
226 B
Ruby
6 lines
226 B
Ruby
module Timeline
|
|
def self.local(actions = ["Create"], entity_types = ["Federails::Actor"], limit = 20)
|
|
Federails::Activity.where(action: actions, entity_type: entity_types).order(created_at: :desc).limit(limit)
|
|
end
|
|
end
|