Commit cecd2699 authored by Nick Thomas's avatar Nick Thomas

Fix another reference to git_reference_regex in config/routes

parent 6eb46fb3
......@@ -52,7 +52,7 @@ scope format: false do
resource :release, only: [:edit, :update]
end
resources :protected_branches, only: [:index, :show, :create, :update, :destroy, :patch], constraints: { id: Gitlab::Regex.git_reference_regex } do
resources :protected_branches, only: [:index, :show, :create, :update, :destroy, :patch], constraints: { id: Gitlab::PathRegex.git_reference_regex } do
## EE-specific
scope module: :protected_branches do
resources :merge_access_levels, only: [:destroy]
......
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