Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-29 13:57:16 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-11-29 16:14:05 +0300
commit651eccda62218532b24ff75384c943256bf70224 (patch)
tree1fb3415c733ffac3ee29aebe011b7c398b1931f6 /app/serializers
parentb8f9949a70005978e83a3aaffbe0836c75d24b74 (diff)
Expose timestamp in build entity used by serializer
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/build_entity.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/serializers/build_entity.rb b/app/serializers/build_entity.rb
index cf1c418a88e..b5384e6462b 100644
--- a/app/serializers/build_entity.rb
+++ b/app/serializers/build_entity.rb
@@ -16,6 +16,9 @@ class BuildEntity < Grape::Entity
path_to(:play_namespace_project_build, build)
end
+ expose :created_at
+ expose :updated_at
+
private
def path_to(route, build)