diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-27 16:37:17 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-27 16:37:17 +0300 |
commit | 589fd93d489cfa9e40ee265be69ab1ad95deb6e1 (patch) | |
tree | 7acd6cd7b27456568385863fa9b88fdc98e075d3 /app/serializers | |
parent | 8e603b62c9305edfa4f5e677ed86a99346e4303f (diff) |
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| |