diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-12-19 11:04:04 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-12-19 11:04:04 +0000 |
commit | 572de0c1c2788d8d434a967f6ef0cb144f7f668f (patch) | |
tree | 20b338ae659cbae4cc4eb6cc3b33e2297014b7a4 /app/serializers/job_entity.rb | |
parent | 3870a1bde276144a05a31185ede7a5032818d489 (diff) | |
download | gitlab-ce-572de0c1c2788d8d434a967f6ef0cb144f7f668f.tar.gz |
Adds illustrations for manual actions and non triggered jobs
Diffstat (limited to 'app/serializers/job_entity.rb')
-rw-r--r-- | app/serializers/job_entity.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/serializers/job_entity.rb b/app/serializers/job_entity.rb index 72e56a2c77f..523b522d449 100644 --- a/app/serializers/job_entity.rb +++ b/app/serializers/job_entity.rb @@ -4,6 +4,8 @@ class JobEntity < Grape::Entity expose :id expose :name + expose :started?, as: :started + expose :build_path do |build| build.target_url || path_to(:namespace_project_job, build) end |