Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2015-01-18 21:05:02 +0300
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2015-01-18 21:05:02 +0300
commitec29ce4b025279419fc9a42581680e9fb28f25c7 (patch)
treebaff5fab6cb8daa71881b91d618b64930322c643 /lib/api/projects.rb
parentb1c79eaf945b22602552edf8d111c5245057bad2 (diff)
parente375d0de65894a03d382c462fe99bbe66915dba7 (diff)
Merge pull request #8307 from cirosantilli/project-api-comment-typo
Typo in project API events comment
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r--lib/api/projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index b9c95c785f2..5b0c31f1898 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -96,7 +96,7 @@ module API
# Parameters:
# id (required) - The ID of a project
# Example Request:
- # GET /projects/:id
+ # GET /projects/:id/events
get ":id/events" do
limit = (params[:per_page] || 20).to_i
offset = (params[:page] || 0).to_i * limit