diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-02-02 14:52:33 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-02-19 13:18:46 +0100 |
commit | b56ee397bb5fa32e3a53fdaee3d6592f1486d7f1 (patch) | |
tree | 94fe22fd4e736442fcec3d360411e1793ffcf94d /lib/api/runners.rb | |
parent | cd62c7470019a88cfda7c2d54a14eaf8db21e9d5 (diff) | |
download | gitlab-ce-b56ee397bb5fa32e3a53fdaee3d6592f1486d7f1.tar.gz |
Add some fixes in runners API documentation
Diffstat (limited to 'lib/api/runners.rb')
-rw-r--r-- | lib/api/runners.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/runners.rb b/lib/api/runners.rb index 799c10a1897..f4f8f2f2247 100644 --- a/lib/api/runners.rb +++ b/lib/api/runners.rb @@ -87,8 +87,8 @@ module API # id (required) - The ID of the project # runner_id (required) - The ID of the runner # Example Request: - # PUT /projects/:id/runners/:runner_id - put ':id/runners/:runner_id' do + # POST /projects/:id/runners/:runner_id + post ':id/runners/:runner_id' do runner = get_runner(params[:runner_id]) can_enable_runner?(runner) Ci::RunnerProject.create(runner: runner, project: user_project) |