summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
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