summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2015-11-21 17:29:26 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2015-11-21 17:29:26 +0100
commit2cba93a0d2d12ee36bf98569e5c6c14ac7ea40e0 (patch)
tree2d98ebaa9c4640d0e16b1dcd3e1339e6dbb0a0dd /lib/api/entities.rb
parent4427e80fb5a8b42b1de04f8346bf0dd431e7dd86 (diff)
downloadgitlab-ce-2cba93a0d2d12ee36bf98569e5c6c14ac7ea40e0.tar.gz
Make tag API consistent for release feature
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 3da6bc415d6..5dea74db295 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -322,7 +322,8 @@ module API
end
class Release < Grape::Entity
- expose :tag, :description
+ expose :tag, as: :tag_name
+ expose :description
end
class RepoTag < Grape::Entity