diff options
author | Thong Kuah <tkuah@gitlab.com> | 2018-11-09 03:19:48 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2018-11-09 03:19:48 +0300 |
commit | 03dba01273d548ab8c0dd82408400a834fb4e10f (patch) | |
tree | f5d5da30035fbfa84922d11b3328ed3866382914 /app/serializers/label_entity.rb | |
parent | ab61bee378ed45ff01d74742b54149533811a204 (diff) |
Revert "Extract code into IssueBoardEntity"
This reverts commit 8c126525faba40032244328187ba73a53b6eaf4c.
Diffstat (limited to 'app/serializers/label_entity.rb')
-rw-r--r-- | app/serializers/label_entity.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/serializers/label_entity.rb b/app/serializers/label_entity.rb index 5082245dda9..98743d62b50 100644 --- a/app/serializers/label_entity.rb +++ b/app/serializers/label_entity.rb @@ -12,8 +12,4 @@ class LabelEntity < Grape::Entity expose :text_color expose :created_at expose :updated_at - - expose :priority, if: -> (*) { options.key?(:project) } do |label| - label.priority(options[:project]) - end end |