summaryrefslogtreecommitdiff
path: root/app/serializers/ci/pipeline_entity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/ci/pipeline_entity.rb')
-rw-r--r--app/serializers/ci/pipeline_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/ci/pipeline_entity.rb b/app/serializers/ci/pipeline_entity.rb
index 143017c5159..5e6ae0986df 100644
--- a/app/serializers/ci/pipeline_entity.rb
+++ b/app/serializers/ci/pipeline_entity.rb
@@ -10,7 +10,7 @@ class Ci::PipelineEntity < Grape::Entity
expose :iid
expose :user, using: UserEntity
expose :active?, as: :active
- expose :name, if: -> (pipeline, _) { Feature.enabled?(:pipeline_name, pipeline.project) }
+ expose :name
# Coverage isn't always necessary (e.g. when displaying project pipelines in
# the UI). Instead of creating an entirely different entity we just allow the