1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00

index updated_at, created_at, published_at datetimes

This commit is contained in:
Nicolas Florentin 2016-04-21 18:19:55 +02:00
parent ec203a8ef8
commit 5ee27da51e

View File

@ -36,7 +36,10 @@ module Project::OpenlabSync
collaborators: users.map { |u| u.profile.full_name },
steps_body: steps_body,
image_path: project_image&.attachment&.medium&.url,
project_path: "/#!/projects/#{slug}"
project_path: "/#!/projects/#{slug}",
updated_at: updated_at.to_s(:iso8601),
created_at: created_at.to_s(:iso8601),
published_at: published_at.to_s(:iso8601)
}
end