Skip to content
Snippets Groups Projects
Unverified Commit 327f7ae8 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix group hooks routing after merge conflicts

parent dbaeb025
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -47,15 +47,15 @@ scope(path: 'groups/:group_id', module: :groups, as: :group) do
resource :notification_setting, only: [:update]
resources :audit_events, only: [:index]
## EE-specific
end
 
## EE-specific
resources :hooks, only: [:index, :create, :destroy], constraints: { id: /\d+/ }, module: :groups do
member do
get :test
## EE-specific
resources :hooks, only: [:index, :create, :destroy], constraints: { id: /\d+/ } do
member do
get :test
end
end
## EE-specific
end
## EE-specific
 
# Must be last route in this file
get 'groups/:id' => 'groups#show', as: :group_canonical
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment