summaryrefslogtreecommitdiff
path: root/app/serializers
diff options
context:
space:
mode:
authorMike Scott <mike@homelyfe.com>2019-05-30 09:32:20 +0000
committerFilipa Lacerda <filipa@gitlab.com>2019-05-30 09:32:20 +0000
commit852738a4984edef4006a91b6b007a4c85fb3282e (patch)
tree3520b2981be357ad0e84053b03c0dcab1f22b8ad /app/serializers
parent847fd2a5c17c0590878bdccc2542c72c412bb515 (diff)
downloadgitlab-ce-852738a4984edef4006a91b6b007a4c85fb3282e.tar.gz
Add Pipeline IID to views
* Add Pipeline IID to MR's * Add Pipeline IID to commit box * Add Pipeline IID to builds page * Add Pipeline IID to job sidebar * Add Pipeline IID to header on view pipeline pages * Add changelog entry * Update tests
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/pipeline_entity.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/pipeline_entity.rb b/app/serializers/pipeline_entity.rb
index 9ef93b2387f..ec2698ecbe3 100644
--- a/app/serializers/pipeline_entity.rb
+++ b/app/serializers/pipeline_entity.rb
@@ -4,6 +4,7 @@ class PipelineEntity < Grape::Entity
include RequestAwareEntity
expose :id
+ expose :iid
expose :user, using: UserEntity
expose :active?, as: :active