summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-10-13 23:38:50 -0700
committerStan Hu <stanhu@gmail.com>2016-10-13 23:38:50 -0700
commitab2a7a806a698d6638bb8b3f2ecc694f265fe65e (patch)
tree8b730932b1a1a74d8962102f48d9862273842c4b /config
parent9bb52e055410524debc220158129af32374a0f38 (diff)
downloadgitlab-ce-ab2a7a806a698d6638bb8b3f2ecc694f265fe65e.tar.gz
Add missing routes to make group edits work
Closes #23306
Diffstat (limited to 'config')
-rw-r--r--config/routes/group.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index 47a8a0a53d4..8bee2bb1eb4 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -3,6 +3,10 @@ require 'constraints/group_url_constrainer'
constraints(GroupUrlConstrainer.new) do
scope(path: ':id', as: :group, controller: :groups) do
get '/', action: :show
+ post '/', action: :create
+ patch '/', action: :update
+ put '/', action: :update
+ delete '/', action: :destroy
end
end