Commit c2d16fd8 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add constraints to group_links route

parent 2480f26c
......@@ -293,7 +293,7 @@ Gitlab::Application.routes.draw do
end
end
resources :group_links, only: [:index, :create, :destroy]
resources :group_links, only: [:index, :create, :destroy], constraints: {id: /\d+/}
resources :notes, only: [:index, :create, :destroy, :update], constraints: {id: /\d+/} do
member do
......
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