summaryrefslogtreecommitdiff
path: root/app/serializers
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-27 14:37:17 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-27 14:37:17 +0100
commit589fd93d489cfa9e40ee265be69ab1ad95deb6e1 (patch)
tree7acd6cd7b27456568385863fa9b88fdc98e075d3 /app/serializers
parent8e603b62c9305edfa4f5e677ed86a99346e4303f (diff)
downloadgitlab-ce-589fd93d489cfa9e40ee265be69ab1ad95deb6e1.tar.gz
Fix Rubocop offenses in serializer entities
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/stage_entity.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/serializers/stage_entity.rb b/app/serializers/stage_entity.rb
index 1aebba3a2d1..7a047bdc712 100644
--- a/app/serializers/stage_entity.rb
+++ b/app/serializers/stage_entity.rb
@@ -7,7 +7,8 @@ class StageEntity < Grape::Entity
"#{stage.name}: #{detailed_status.label}"
end
- expose :detailed_status, as: :status,
+ expose :detailed_status,
+ as: :status,
with: StatusEntity
expose :path do |stage|