summaryrefslogtreecommitdiff
path: root/lib/api/groups.rb
diff options
context:
space:
mode:
authorDaniel Serodio <Daniel.Serodio@walmart.com>2014-12-16 20:03:28 -0200
committerDaniel Serodio <Daniel.Serodio@walmart.com>2015-01-16 16:52:48 -0200
commit6ac8bb0f7ccd7b1f10909aea62b1d8493fc0574a (patch)
treed723b59d356859b9287ba2ecb0282aa45a2724b9 /lib/api/groups.rb
parentada6c6080b2fa0d63003f8b29b5c32195254906d (diff)
downloadgitlab-ce-6ac8bb0f7ccd7b1f10909aea62b1d8493fc0574a.tar.gz
Add description attribute to group API (GET and POST)
Diffstat (limited to 'lib/api/groups.rb')
-rw-r--r--lib/api/groups.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/groups.rb b/lib/api/groups.rb
index bda60b3b7d5..730dfad52c8 100644
--- a/lib/api/groups.rb
+++ b/lib/api/groups.rb
@@ -47,7 +47,7 @@ module API
authenticated_as_admin!
required_attributes! [:name, :path]
- attrs = attributes_for_keys [:name, :path]
+ attrs = attributes_for_keys [:name, :path, :description]
@group = Group.new(attrs)
@group.owner = current_user