summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-08-12 14:16:25 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2014-08-13 12:28:19 +0200
commit9284038dbef5153dac40eda14f1685a72efe1d1a (patch)
tree1b195e94518f115316da6f98195943dc8d22c2c0 /lib/api/entities.rb
parent53ead2e35c9195ae1f68bf5d7154e341636caf1b (diff)
downloadgitlab-ce-9284038dbef5153dac40eda14f1685a72efe1d1a.tar.gz
Add, delete labels via API
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 8731db59e57..9f1e5cded53 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -192,7 +192,7 @@ module API
end
class Label < Grape::Entity
- expose :name
+ expose :name, :color
end
class RepoDiff < Grape::Entity