Commit ab2a7a80 authored by Stan Hu's avatar Stan Hu

Add missing routes to make group edits work

Closes #23306
parent 9bb52e05
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment