summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorMariusz Jachimowicz <mariusz.jachimowicz.83@gmail.com>2016-03-24 18:38:37 +0000
committerMariusz Jachimowicz <mariusz.jachimowicz.83@gmail.com>2016-03-24 18:44:52 +0000
commitc8be7f1cf027d27bba50f6fa4fdeaee33e3f531f (patch)
tree2e3ef87e2166999ac555ba5ce7bec98f91117aee /lib/api/entities.rb
parent6b95be1ddd144e24a61564349fa550b3a98336c7 (diff)
downloadgitlab-ce-c8be7f1cf027d27bba50f6fa4fdeaee33e3f531f.tar.gz
api - expose label description
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 197e826e5bc..f686c568bee 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -292,7 +292,7 @@ module API
end
class Label < Grape::Entity
- expose :name, :color
+ expose :name, :color, :description
end
class Compare < Grape::Entity