scinote-web/app/views/client_api/activities/index.json.jbuilder

15 lines
380 B
Text
Raw Normal View History

2017-08-03 17:17:09 +08:00
json.global_activities do
json.more more
2017-12-14 21:02:40 +08:00
json.currentPage page
2017-08-03 17:17:09 +08:00
json.activities activities do |activity|
json.id activity.id
json.message activity.message
2017-12-14 21:02:40 +08:00
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
2017-08-03 17:17:09 +08:00
end
2017-08-02 23:27:05 +08:00
end