diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-27 14:37:17 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-27 14:37:17 +0100 |
commit | 589fd93d489cfa9e40ee265be69ab1ad95deb6e1 (patch) | |
tree | 7acd6cd7b27456568385863fa9b88fdc98e075d3 /app/serializers | |
parent | 8e603b62c9305edfa4f5e677ed86a99346e4303f (diff) | |
download | gitlab-ce-589fd93d489cfa9e40ee265be69ab1ad95deb6e1.tar.gz |
Fix Rubocop offenses in serializer entities
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/stage_entity.rb | 3 |
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| |