diff options
Diffstat (limited to 'lib/api/v3/runners.rb')
-rw-r--r-- | lib/api/v3/runners.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/v3/runners.rb b/lib/api/v3/runners.rb index 8967141fe3d..1934d6e578c 100644 --- a/lib/api/v3/runners.rb +++ b/lib/api/v3/runners.rb @@ -26,7 +26,7 @@ module API params do requires :id, type: String, desc: 'The ID of a project' end - resource :projects do + resource :projects, requirements: { id: %r{[^/]+} } do before { authorize_admin_project } desc "Disable project's runner" do |