Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2018-11-09 03:19:48 +0300
committerThong Kuah <tkuah@gitlab.com>2018-11-09 03:19:48 +0300
commit03dba01273d548ab8c0dd82408400a834fb4e10f (patch)
treef5d5da30035fbfa84922d11b3328ed3866382914 /app/serializers/label_entity.rb
parentab61bee378ed45ff01d74742b54149533811a204 (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.rb4
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