mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 15:13:21 +08:00
14 lines
380 B
Ruby
14 lines
380 B
Ruby
json.global_activities do
|
|
json.more more
|
|
json.currentPage page
|
|
json.activities activities do |activity|
|
|
json.id activity.id
|
|
json.message activity.message
|
|
json.createdAt activity.created_at
|
|
json.timezone timezone
|
|
if activity.my_module
|
|
json.project activity.my_module.experiment.project.name
|
|
json.task activity.my_module.name
|
|
end
|
|
end
|
|
end
|